https://prefect.io logo
f

Farhood Etaati

08/01/2023, 11:04 AM
So I was trying to do some error handling on my flow in prefect and got to this:
AttributeError: 'Flow' object has no attribute 'submit'
Is this the intended behaviour? What if I want to handle errors of my subflows in a different context?
m

Manoj

08/01/2023, 11:44 AM
I think Submit is associated with task not flow just check
🫡 1
d

Deceivious

08/01/2023, 11:44 AM
I think flow call accepts
return_state
. You can check the state returned and enact on it?