Hey @Prefect: I'm having trouble getting the dependency arrows to show up (using Prefect 2.10.3 Self Hosted). I understand you can use the
wait_for
command when invoking a function to get the dependency arrows but I'm not seeing anything. Code snippet is below, along with UI output. Any help would be appreciated. Thanks!
Copy code
from prefect import flow, task
@task
def task_1():
pass
@task
def task_2():
pass
@task
def task_3():
pass
@flow
def my_flow():
x = task_1()
# task 2 will wait for task_1 to complete
y = task_2(wait_for=[x])
task_3(wait_for=[y])
if __name__ == "__main__":
my_flow()
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.