Configuration of a worker spawned by a local cluster.
| 9 | |
| 10 | @dataclasses.dataclass |
| 11 | class 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 | |
| 20 | class LocalCluster: |
no outgoing calls