MCPcopy Create free account
hub / github.com/Standard-Intelligence/hertz-dev / rank0

Function rank0

utils/interp.py:4–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2import os
3
4def rank0():
5 rank = os.environ.get('RANK')
6 if rank is None or rank == '0':
7 return True
8 else:
9 return False
10
11def print_colored(message, color='reset', bold=False, **kwargs):
12 color_dict = {

Callers 1

print0_coloredFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected