I have the same task running at different node of ...
# prefect-community
r
I have the same task running at different node of my graph. Now I have a task that must run after one of them is finish. How can I setup this dependency. I am using the Flow framework
j
Hi @Richard Pitre, you can use
y.set_upstream(x)
to create what we call a “state dependency” from task x to task y. This will enforce that y shouldn’t start until x finishes