Is there a way to set terminal task for the flow a...
# ask-community
a
Is there a way to set terminal task for the flow after its creation? I see that the flow object has
set_reference_task()
but not
set_terminal_task()
. I'm trying to debug by stopping the flow early and inspect the results
k
The terminal tasks should be whatever task has no downstream dependencies, so you should only be setting reference tasks
a
Yep, my flow is just a big flow + lots of mapped values so debugging is a pain if it has to run through every task every time so I'm trying to modify it to end at the exact task I want. I found a hack, hopefully this works. Running the flow now.
k
Ah ok