Launch multiple tasks. Args: tasks (list[dict]): A list of task configs, usually generated by Partitioner. Returns: list[tuple[str, int]]: A list of (task name, exit code).
(self, tasks: List[Dict[str, Any]])
| 41 | |
| 42 | @abstractmethod |
| 43 | def launch(self, tasks: List[Dict[str, Any]]) -> List[Tuple[str, int]]: |
| 44 | """Launch multiple tasks. |
| 45 | |
| 46 | Args: |
| 47 | tasks (list[dict]): A list of task configs, usually generated by |
| 48 | Partitioner. |
| 49 | |
| 50 | Returns: |
| 51 | list[tuple[str, int]]: A list of (task name, exit code). |
| 52 | """ |
| 53 | |
| 54 | def summarize(self, status: List[Tuple[str, int]]) -> None: |
| 55 | """Summarize the results of the tasks. |