MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / Local

Class Local

benchmarks/src/clusterutils/node_list.py:16–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14
15
16class Local(NodeList):
17 HOSTNAME = socket.gethostname()
18
19 def resolve(self) -> List[str]:
20 return [Local.HOSTNAME]
21
22 def is_localhost(self) -> bool:
23 return True
24
25
26class PBS(NodeList):

Callers 8

generate_descriptorsMethod · 0.90
generate_descriptorsMethod · 0.90
generate_descriptorsMethod · 0.90
sleepFunction · 0.90
hq_env_localFunction · 0.85
single_node_hq_clusterFunction · 0.85
single_node_dask_clusterFunction · 0.85
get_active_nodesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected