skip_on_failure on Pydantic V2 #9456
Unanswered
MinuraPunchihewa
asked this question in
Question
Replies: 1 comment
-
I have the same question. Can someone confirm whether |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
The
root_validator
that was available with Pydantic V1 allowed a flag calledskip_on_failure
, which allowed other validators to be run even if prior ones failed (when set toTrue
).I was wondering if there was a way to achieve using the
model_validator
offered by V2? I cannot figure it out from the docs.Beta Was this translation helpful? Give feedback.
All reactions