register when you want to build a runner incrementally instead of passing all task classes to the Runner constructor.
Parameters
type[Task]
required
Task class that this runner can execute.
Returns
None
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
from tilebox.workflows import Runner
from my_workflow.tasks import MyRootTask, MySubtask
runner = Runner()
runner.register(MyRootTask)
runner.register(MySubtask)
def Runner.register(task: type[Task]) -> None
register when you want to build a runner incrementally instead of passing all task classes to the Runner constructor.
None
from tilebox.workflows import Runner
from my_workflow.tasks import MyRootTask, MySubtask
runner = Runner()
runner.register(MyRootTask)
runner.register(MySubtask)
Was this page helpful?