pydantic
https://github.com/pydantic/pydantic
Python
Data validation using Python type hints
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Python not yet supported4 Subscribers
Add a CodeTriage badge to pydantic
Help out
- Issues
- Model.model_validate() does respect `extra` setting
- SkipValidation does not ignore ForwardReference
- Missing type for PEP695 `TypeAliasType` vs `TypeAlias` when using `TypeAdapter`
- pydantic_core._pydantic_core.SchemaError: Definitions error: definition `XYZ` was never filled
- Allow for serializer functions (`model_dump()`, `model_dump_json()`) to raise exceptions in addition to warnings
- Return default value if the input is `None`
- model.model_dump() 'include' option should take precedence over 'exclude_defaults' option
- Serializing Union field that includes a RootModel fails (dumping returns root of path object)
- Union failing type checks in strict mode
- Add more properties to `Url.path` for granular access
- Docs
- Python not yet supported