(self, value: str)
| 57 | self.min_length = min_length |
| 58 | |
| 59 | def __call__(self, value: str) -> None: |
| 60 | if value is None: |
| 61 | raise ValidationError("Value must not be None") |
| 62 | if len(value) < self.min_length: |
| 63 | raise ValidationError(f"Length of '{value}' {len(value)} < {self.min_length}") |
| 64 | |
| 65 | |
| 66 | class NumericValidator(Validator): |
nothing calls this directly
no test coverage detected