-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
domain: loading & dumpingneed design studyResearch on architecture and API structure is requiredResearch on architecture and API structure is requiredtype: featureNew feature or requestNew feature or request
Description
For some cases, like loading data from multiple sources we can simply ignore invalid keys.
That would be nice to have an option to specify that bahavior globally (or using Predicate)
Expected behabvior if unparable field found:
- For dataclasses/pydantic models, default value will be used
- For typeddict with total=False, the key will be skipped
- For mappings the key will be skipped
- For other cases it will raise an error anyway
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
domain: loading & dumpingneed design studyResearch on architecture and API structure is requiredResearch on architecture and API structure is requiredtype: featureNew feature or requestNew feature or request