(count: int, n_processes: int = 1, **kwargs)
| 36 | |
| 37 | @staticmethod |
| 38 | def create(count: int, n_processes: int = 1, **kwargs) -> "DaskWorkerConfig": |
| 39 | assert count % n_processes == 0 |
| 40 | return DaskWorkerConfig(processes=n_processes, threads_per_process=count // n_processes, **kwargs) |
| 41 | |
| 42 | |
| 43 | @dataclasses.dataclass(frozen=True) |
no test coverage detected