Feat: move action to worker with a dispatcher

This commit is contained in:
2022-04-10 14:37:19 +02:00
parent 3f1464f3f6
commit 08411bd42d
5 changed files with 36 additions and 9 deletions

View File

@@ -4,6 +4,6 @@ from bopytex.tasks import Task
def simple(options: dict) -> list[Task]:
"""Simple planner with options['quantity'] tasks and no dependencies"""
return [
Task("Do", args={"number": i}, deps=[], output=f"{i}")
Task("DO", args={"number": i}, deps=[], output=f"{i}")
for i in range(options["quantity"])
]