Tailoring custom types to fit Pydantic models, including JSON schema generation and on-the-fly model generation with custom types using JSON Schema's "format" key, allowing lossless serialization/deserialiation of arbitrary models. Contains simple JSON encoding/decoding for most types and the ability to specify them for new types with an interface mixin.
Pydantic model base classes and custom type handling, JSON schema generation, etc. covering a variety of common scenarios without much config
License
goodcleanfun/sartorial
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Pydantic model base classes and custom type handling, JSON schema generation, etc. covering a variety of common scenarios without much config
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published