https://prefect.io logo
s

Sylvain Hazard

08/22/2023, 2:54 PM
Is there a way to have implicit task dependencies in the same way Prefect 1 did ? e.g. something like
Copy code
@flow
def my_flow():
    a = task_A()
    b = task_B(upstream_tasks=[a]) # I really really need B to run after A but B doesn't need result from A
1
s

Sanz Al

08/22/2023, 3:02 PM
You can do this with
wait_for
. Here the docs
👏 2
s

Sylvain Hazard

08/22/2023, 3:03 PM
Oh great, exactly what I was looking for ! Thanks !
🙏 1
👍 1