Question on <task dependency>. Given a flow doesn'...
# best-practices
k
Question on task dependency. Given a flow doesn't require explicit task dependency to be defined, when should wait_for be used? Is it required when the tasks are dependent on completion but don't use the return value from previous?
Copy code
def flow():
   _ = taskA()  #create table
   taskB()  #insert into table
If taskA requires taskB to complete first, should taskB use
wait_for=[_]
Flows defined without the wait_for appear to be completing the tasks sequently anyway. Does the flow know to complete taskA before taskB regardless?
1