(self, value: int | float | Decimal)
| 96 | self.max_value = max_value |
| 97 | |
| 98 | def __call__(self, value: int | float | Decimal) -> None: |
| 99 | self._validate_type(value) |
| 100 | if value > self.max_value: |
| 101 | raise ValidationError(f"Value should be less or equal to {self.max_value}") |
| 102 | |
| 103 | |
| 104 | class CommaSeparatedIntegerListValidator(Validator): |
nothing calls this directly
no test coverage detected