Phoebe Bright
11/14/2019, 9:23 PMChris White
flow_state = flow.run()
flow_state.result[final].result
Chris White
prefect
tag started on stackoverflow so it’s more discoverable by search engines!Jeremiah
Phoebe Bright
11/15/2019, 10:00 AMChris White
flow
object itself is never altered; flow.run
returns a Prefect State object will contain all of the task results. So using your pattern:
state = flow.run(batchid=item.batchid)
state.result[final].result # the result of the final task
Phoebe Bright
11/16/2019, 7:34 PMPhoebe Bright
11/16/2019, 7:35 PMPhoebe Bright
11/16/2019, 7:36 PMPhoebe Bright
11/16/2019, 7:37 PMPhoebe Bright
11/16/2019, 7:38 PMChris White
Chris White
alldone
object is not a key of the result dictionary, but rather the final
objectPhoebe Bright
11/18/2019, 12:18 PMChris White
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.
Powered by