Feat: service work but do nothing!

This commit is contained in:
2022-04-10 06:45:10 +02:00
parent abd517b339
commit 3f1464f3f6
3 changed files with 24 additions and 91 deletions

View File

@@ -0,0 +1,9 @@
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}")
for i in range(options["quantity"])
]