(self, task)
| 411 | |
| 412 | # Find workers by task |
| 413 | def findWorkers(self, task): |
| 414 | workers = [] |
| 415 | for worker in list(self.workers.values()): |
| 416 | if worker.task == task: |
| 417 | workers.append(worker) |
| 418 | return workers |
| 419 | |
| 420 | # Ends and remove a worker |
| 421 | def removeWorker(self, worker): |
no test coverage detected