https://prefect.io logo
n

Nat Busa

12/09/2019, 7:01 AM
Chaining tasks with no input: how to do that?
managed that! in imperative mode use flow.chain(...)
inside a flow context use the followin snippet:
import prefect
def chain(*tasks): flow = prefect.context.get("flow", None) flow.chain(*tasks)