Skip to content

Comments

Fix mutually exclusive fields validation#3598

Merged
jvstme merged 1 commit intomasterfrom
issue_3597_fix_mutually_exclusive_fields_validation
Feb 20, 2026
Merged

Fix mutually exclusive fields validation#3598
jvstme merged 1 commit intomasterfrom
issue_3597_fix_mutually_exclusive_fields_validation

Conversation

@jvstme
Copy link
Collaborator

@jvstme jvstme commented Feb 20, 2026

Pydantic validators should raise ValueError,
TypeError, or AssertionError, not KeyError.

Fixes #3597

Pydantic validators should raise `ValueError`,
`TypeError`, or `AssertionError`, not `KeyError`.
@jvstme jvstme requested a review from un-def February 20, 2026 07:17
@jvstme jvstme merged commit 7c4314b into master Feb 20, 2026
53 of 55 checks passed
@jvstme jvstme deleted the issue_3597_fix_mutually_exclusive_fields_validation branch February 20, 2026 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Configuration validation raises unhandled exception

2 participants