this should still run one after the other when using the default LocalExecutor, but I think this way you can’t guarantee that hello_world runs before hello_world_2. Does it make sense?
j
Jason Boorn
10/27/2021, 4:30 PM
Yup thats perfect - thanks
k
Kevin Kho
10/27/2021, 5:31 PM
I just wanna add another syntax:
Copy code
with Flow("basic-flow") as flow:
t1 = hello_world()
t2 = hello_world_2(upstream_tasks=[t1])
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.