Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/It4innovations/hyperqueue
/ sanity_check_nodes
Function
sanity_check_nodes
benchmarks/src/environment/utils.py:35–39 ·
view source on GitHub ↗
(nodes: List[str])
Source
from the content-addressed store, hash-verified
33
34
35
def
sanity_check_nodes(nodes: List[str]):
36
for
node in nodes:
37
assert len(node) > 0
38
assert len(set(nodes)) == len(nodes)
39
assert len(nodes) > 0
40
41
42
class
WorkerConfig(Protocol):
Callers
2
__init__
Method · 0.85
__init__
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected