Tim Galvin
08/20/2023, 11:02 AMtask
class before, and see that there is a mechanism to specify a task runner - this internal option is what denoted the blocking vs non-blocking behaviour when directly calling a task vs calling a tasks .submit
method. For instance:
https://github.com/PrefectHQ/prefect/blob/6c7233bbe55fbe554956bbc70fbfa31de12c1543/src/prefect/tasks.py#L550
seems to suggest I could extend either the __call__
or .submit
method to pass through a different task runner. Would this work?