Florian Guily
06/28/2022, 10:10 AMemre
06/28/2022, 1:17 PMterminal_state_handler
. It receives the flow state, but also the terminal task states which should contain task results.
3- I think flow.state
object contains every single task state in a dict as well.Florian Guily
06/28/2022, 1:21 PMterminal_state_handler
but couldn't find any doc about it. Seems to correspond to what i need based on what you said.
Btw, how do Prefect determine the terminal task if there are multiple tasks with no children ?emre
06/28/2022, 1:24 PMterminal_state_handler
. You can explicitly set terminal (reference) tasks via flow.set_reference_tasks(task_list)
terminal_state_handler
😅Florian Guily
06/28/2022, 1:28 PM