i am returning a class object; is this the reason for the doubly directed dependency arrow? it seems as though in all other tasks, where I am returning standard python data types, do not have a doubly...
j
josh
11/11/2019, 9:36 PM
Interesting, maybe @Chris White knows more about this. Here’s a flow viz in which task
a
returns a class and it doesn’t give me double arrows for the single edge 🤔
m
Mitchell Bregman
11/11/2019, 9:42 PM
hmmmmm, might be something I'm doing
c
Chris White
11/11/2019, 9:46 PM
Yea this suggests you are setting an downstream / upstream dependency twice, prefect doesn’t know what your tasks return since all computation is deferred
Chris White
11/11/2019, 10:02 PM
each line represents a Prefect Edge, so the double lines suggest two edges are added for some reason
m
Mitchell Bregman
11/11/2019, 10:05 PM
Got it! The issue was; i set
upstream_tasks
when I was passing a dependent parameter - and this task automatically recognizes the upstream because of this
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.