https://prefect.io logo
j

John Ramirez

12/30/2019, 4:47 PM
Hey everyone - I am trying to see how the results of a mapping task are passed to the next stage but don’t know how to get the result. Please help!
c

Chris White

12/30/2019, 4:49 PM
Hey John, all results are stored as attributes of the corresponding
State
objects. So,
Copy code
flow_state = flow.run()

flow_state.result # a dictionary of Tasks -> States

flow_state.result[my_task].result # the result of a task in the flow
j

John Ramirez

12/30/2019, 5:34 PM
thank you! that worked
💯 1