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![CodeTriage badge for pydantic/pydantic](/pydantic/pydantic/badges/users.svg?count=4)
Help out
- Issues
- Base model with abstraction by computed_field | the class attribute
- Impossible to add additional calculated field values when passing object to model_validate
- Ad-hoc validators in `Annotated[Generic,AfterValidator]` do not pass class (sub) class checks for nested generic models
- A clearer `ValidationErorr` should be provided when an `Optional` type hint is used
- URL validation of length not working as expected
- Request: Ability to specify a model_serializer does not change the serialization JSON Schema.
- `GenerateSchema.match_type` does not work for union types or `datetime` types
- Recursive `dict` causes infinite recursion during schema generation
- Serializer warning shown on valid fields when another field uses an invalid default
- Type of `examples` parameter is not checked, which may lead to invalid JSON schema generation
- Docs
- Python not yet supported