Talk Python To Me cover image

#349: Meet Beanie: A MongoDB ODM + Pydantic

Talk Python To Me

00:00

Using Pidantic in Mongodb?

Pidantic is base model. And o you inherit everything from base model, and it looks like data classes of piton. It also supports validation and parson which data classes dos, and theconver s and stuff. That's one of the things i think pydantic is so good about. You look at their example. Somebody write some code and they send you some data. Well, if they didn't really use the nitif data type, but it could be turned into it, then that's really not yori. A this great feature, ye, this exchange across especially cross either files orapi boundaries,. Right? So maybe we could give us a pidantic example

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app