Open s-breeze opened 6 months ago
patito.validators.validate
has an allow_superfluous_columns
argument (https://github.com/JakobGM/patito/blob/main/src/patito/validators.py#L89). Can you give an example where you need this logic to live in the model rather than in the call to validate
?
Is there a way to configure patito Models to ignore certain validation errors (e.g.
type_error.superfluoscolumns
) in the model class rather than catching and checking errors?