filmov
tv
Python pydantic Introduction – Give your data classes super powers

Показать описание
Want static type checking in run time? Want to use standard python type annotations? Want compatibility with standard python dataclasses?
Then it sounds like pydantic is something for you. This video is a getting started tutorial on pydantic and it's most important features while also hinting on what more advanced concepts you can continue with after you're more familiar with the library.
Sign up for my course:
Github repository with all the information you need:
Slides (with more links):
Watch more talks from me:
Index
00:00 Introduction
01:16 Outline of the lecture
02:15 Dataclasses, Refresher
04:52 pydantic, Quick introduction
05:46 pydantic, Runtime type-checking, data class drop-in replacement
07:14 pydantic, BaseModel and JSON
08:05 JSON (de)serialisation of objects and errors
10:28 JSONSchema
11:35 Custom Validators
14:17 Validators, type-checking function arguments
15:29 FastAPI, pydantic driven APIs, async ASGI support
16:43 That’s the beginning, but there’s more…
17:08 Features worth mentioning
19:45 Conclusion
20:30 Afterword and contact details
Then it sounds like pydantic is something for you. This video is a getting started tutorial on pydantic and it's most important features while also hinting on what more advanced concepts you can continue with after you're more familiar with the library.
Sign up for my course:
Github repository with all the information you need:
Slides (with more links):
Watch more talks from me:
Index
00:00 Introduction
01:16 Outline of the lecture
02:15 Dataclasses, Refresher
04:52 pydantic, Quick introduction
05:46 pydantic, Runtime type-checking, data class drop-in replacement
07:14 pydantic, BaseModel and JSON
08:05 JSON (de)serialisation of objects and errors
10:28 JSONSchema
11:35 Custom Validators
14:17 Validators, type-checking function arguments
15:29 FastAPI, pydantic driven APIs, async ASGI support
16:43 That’s the beginning, but there’s more…
17:08 Features worth mentioning
19:45 Conclusion
20:30 Afterword and contact details
Комментарии