Hi! Prefect 2.0 has the ability to enforce pydanti...
# prefect-community
a
Hi! Prefect 2.0 has the ability to enforce pydantic checks for flow input which is a really nice feature. So, when we pass invalid parameters to a flow it goes straight from a pending state to a failed state as expected and we get an error in the form of:
Copy code
09:47:51.189 | INFO    | prefect.engine - Flow run 'shiny-falcon' received invalid parameters and is marked as failed
However this information is quite limited. Is there a way to get more information which of the parameters failed to pass the pydantic check?
1
👀 1
a
I investigated and I agree that this would be valuable to know why the validation didn't pass @Marvin open "In the flow run Failed-state message, show which parameters didn't pass pydantic validation"
❤️ 1
a
Thank you Anna 💯
🙌 1