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

Class WorkerConfig

crates/pyhq/python/hyperqueue/cluster/__init__.py:11–17  ·  view source on GitHub ↗

Configuration of a worker spawned by a local cluster.

Source from the content-addressed store, hash-verified

9
10@dataclasses.dataclass
11class WorkerConfig:
12 """
13 Configuration of a worker spawned by a local cluster.
14 """
15
16 # If None, use all available cores
17 cores: Optional[int] = None
18
19
20class LocalCluster:

Callers 2

start_workerMethod · 0.70

Calls

no outgoing calls

Tested by 1