MongoDB with Async Python Transcripts
Chapter: Foundations: Pydantic
Lecture: Pydantic Introduction
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
It's time for foundations. Let's dive into Pydantic. We talked about Pydantic just a little bit at the opening of the course, but Pydantic
0:11
is a really, really important library and framework for building classes that map structured data with type information to whatever you want it to do.
0:25
This most popular use case would be with FastAPI on API data exchange with JSON documents. However, there's many, many places that use Pydantic.
0:36
And so in this chapter, we're going to dive in and see how to work with Pydantic models
0:42
and how we can parse data with them and even use some cool tools to generate the code for those models to start with.