(self, v, skip_invalid=False)
| 2496 | super(TitleValidator, self).__init__(*args, **kwargs) |
| 2497 | |
| 2498 | def validate_coerce(self, v, skip_invalid=False): |
| 2499 | if isinstance(v, (str, int, float)): |
| 2500 | v = {"text": v} |
| 2501 | return super(TitleValidator, self).validate_coerce(v, skip_invalid=skip_invalid) |
| 2502 | |
| 2503 | |
| 2504 | class CompoundArrayValidator(BaseValidator): |
nothing calls this directly
no test coverage detected