Pydantic

Pydantic parse objects with parse_obj and parse_obj_as methods

Effortless Data Parsing: Deep dive into Pydantic's parse_obj and parse_obj_as methods.

Pydantic discriminated unions. Some examples to simplify data structures and ensure type safety

Powerful type validation and discriminated Unions with Pydantic: Simplify data structures and ensure type safety. We are showcasing a few straightforward examples.

Pydantic, Enums and IntEnums. A Story of Validation

Mastering Pydantic, Enums and IntEnums for robust Python applications. Merge the power of Pydantic data validations and the concept of Enum, IntEnum and StrEnum.