We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28bc0cf commit ca2f727Copy full SHA for ca2f727
protovalidate/validator.py
@@ -101,9 +101,9 @@ class ValidationError(ValueError):
101
An error raised when a message fails to validate.
102
"""
103
104
- _violations: list[Violation]
+ _violations: list[_constraints.Violation]
105
106
- def __init__(self, msg: str, violations: list[validate_pb2.Violations]):
+ def __init__(self, msg: str, violations: list[_constraints.Violation]):
107
super().__init__(msg)
108
self._violations = violations
109
0 commit comments