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.
-
Notifications
You must be signed in to change notification settings - Fork 0
Pydantic model base classes and custom type handling, JSON schema generation, etc. covering a variety of common scenarios without much config
License
goodcleanfun/sartorial
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