Skip to content

Add enhanced implementations of construct() function, to allow bypass validation…#209

Draft
arthurvd wants to merge 1 commit into
mainfrom
207/feat_skip_validation
Draft

Add enhanced implementations of construct() function, to allow bypass validation…#209
arthurvd wants to merge 1 commit into
mainfrom
207/feat_skip_validation

Conversation

@arthurvd

Copy link
Copy Markdown
Member

Fixes #207. Not too happy yet about the fact that this is not built-in supported in Pydantic itself. Feels like a lot of custom code needed in our own BaseModel. Therefore, only a DRAFT PR, to hear your first ideas.

…ing validation of nested BaseModel input files.

I'm not too happy yet with how much custom code is required to bypass validation, but this is still in line with the recommendations typically found online.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow bypassing validation to read faulty input

1 participant