| 69 | |
| 70 | |
| 71 | class QueryServerSubprocesses(TaskServer): |
| 72 | # This is a query server that launches workers as subprocesses |
| 73 | |
| 74 | def launch_workers(self, num_workers: Optional[int] = None) -> None: |
| 75 | if self._tasks.qsize() == 0 and len(self._in_progress) == 0: |
| 76 | raise ValueError( |
| 77 | "There is no work to be done and you are trying to launch jobs." |
| 78 | ) |
| 79 | |
| 80 | # Will have to think about what is the right thing to do here |
| 81 | |
| 82 | # resources_config = self.worker_resources_config |
| 83 | |
| 84 | # executor = get_submitit_executor(resources_config) |
| 85 | |
| 86 | def kill_workers(self) -> None: |
| 87 | pass |
nothing calls this directly
no outgoing calls
no test coverage detected