Data Validation with Python Pydantic

preview_player
Показать описание
This is a short demonstration of how to use Python Pydantic for data validation.

Let me know in the comments...
- if you learned something new
- how you currently use Pydantic or other data validation techniques

Timestamps

00:00 - Intro to Pydantic
00:51 - Introducing example and basic validation with type hints
03:54 - Pydantic Field object
05:42 - Validating multiple fields using model_validator
08:45 - Validating a single field using field_validator
12:01 - JSON Schema generation
13:28 - Testing

Further reading and watching
Рекомендации по теме
visit shbcf.ru