Python - Pydantic classes fields tutorial (40+ covered)

preview_player
Показать описание
In this video, we will cover all the Pydantic fields - So that you know how to create the best classes as you can in Python.
There are almost 100 combinations you can have when creating fields in Pydantic. And in this video we are explaining as much as fields as possible in 25 minutes

Important Links:
🔴 Datetime Tutorial

🔵 Link to the discord server for joining to solve free Python exercises:

Timeline:
00:00 - 02:44 - Basic Types
02:45 - 03:30 - Enabling multiple types
03:31 - 04:51 - Email Validations
04:52 - 06:40 - Link Validations
06:41 - 07:45 - Database connection validations
07:46 - 10:08 - Networking Validations
10:09 - 12:10 - Date and Time fields
12:11 - 14:20 - Windows and Linux Path validations
14:21 - 15:47 - Option values
15:48 - 18:13 - Positive & Negative Numbers
18:14 - 24:40 - Constraints Classes in Pydantic
24:41 - 26:10 - JSON fields
Рекомендации по теме
Комментарии
Автор

21:51 I am pretty sure you can perform validation on assignment to attributes as well setting `validate_assignment` to True inside Model Config

izem