Python and FastAPI
Module 21 · Pydantic deep dive
Data validation and settings: models, fields, validators, nested models, serialisation, settings management, custom types and v2 internals.
7 lessons
Follow in order
Use the button below to sign in and unlock lessons.
Your path
Lessons in sequence
Work through these in order—each lesson builds on the previous one.
-
Lesson 1 of 7
21.1 Pydantic basics: models and types
-
Lesson 2 of 7
21.2 Field constraints and validation
-
Lesson 3 of 7
21.3 Custom validators: field and model
-
Lesson 4 of 7
21.4 Nested models, lists and unions
-
Lesson 5 of 7
21.5 Serialisation, aliases and JSON
-
Lesson 6 of 7
21.6 Settings management with pydantic-settings
-
Lesson 7 of 7
21.7 Advanced Pydantic: generics, config and performance