Fell like I'm being annoying asking multiple question everyday but I can't wrap my head around this one.
I've been trying to play around with the FlowRunView API and I'm running into issues with TaskRuns locations.
Code and explanation below ⬇️
Flow seems pretty simple but for some reason, I get a "The task result has no location" error. Shouldn't the task result have a default (local) location ? What can I do to prevent this ?
k
Kevin Kho
10/19/2021, 2:54 PM
Hey @Sylvain Hazard, no worries. I don’t think you have to do this? If they are in the same flow, you still have this data in memory right?
s
Sylvain Hazard
10/19/2021, 2:56 PM
You mean I should pass the result of the
get_list
task as an input of the
get_list_results
task ? (Sorry, I'm very bad at naming tasks 😅
k
Kevin Kho
10/19/2021, 2:56 PM
Yeah exactly. You shouldn’t have to fetch this using the API
s
Sylvain Hazard
10/19/2021, 3:00 PM
I see. I'm trying to remember why I did not go for the easy route but I believe I just fell down a rabbit hole. Thanks for getting me out !
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.