(id2label, children)
| 98 | |
| 99 | |
| 100 | def _roots(id2label, children): |
| 101 | all_children = {c for kids in children.values() for c in kids} |
| 102 | return [n for n in id2label if n not in all_children] |
| 103 | |
| 104 | # ─── detect cycles in the task-to-task graph ─────────────────────── |
| 105 | def _task_graph(awaits): |
no test coverage detected
searching dependent graphs…