Talk Python To Me cover image

#432: Migrating to Pydantic 2.0: Beanie for MongoDB

Talk Python To Me

00:00

Classes, Fields, and MongoDB's Document-based Structure

This chapter explores the concept of classes and fields in Pydantic and how they are stored in a database, highlighting the advantages of data science queries on the database layer and the flexibility of MongoDB's document-based structure. It also discusses the use of the link type in Beanie for establishing document relations and the new feature of backtracking back references for links.

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