Hey
I am having a problem, when I pass a parameter to a flow that does not fit the pydantic model, the on_failure function does not trigger. Anyone faced such thing?
n
Nate
04/16/2024, 3:37 PM
hi @Nir Kopp - if your flow never starts, it makes sense to me that your
on_failure
hook would not trigger.
we validate parameters before we create the flow run in the API, so orchestration logic like state hooks never runs
n
Nir Kopp
04/16/2024, 3:43 PM
There is any way to run a callback to a validation error like that?
n
Nate
04/16/2024, 3:44 PM
depending on what you need a callback for, you may want to put a
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.