DiscoverTalk Python To Me#432: Migrating to Pydantic 2.0: Beanie for MongoDB
#432: Migrating to Pydantic 2.0: Beanie for MongoDB

#432: Migrating to Pydantic 2.0: Beanie for MongoDB

Update: 2023-10-061
Share

Description

By now, surely you've heard how awesome Pydantic version 2 is. The team led by Samual Colvin spent almost a year refactoring and reworking the core into a high-performance Rust version while keeping the public API in Python and largely unchanged. The main benefit of this has been massive speed ups for frameworks and devs using Pydantic. But just how much work is it to take a framework deeply built on Pydantic and make that migration? What are some of the pitfalls? On this episode, we welcome back Roman Right to talk about his experience converting Beanie, the popular MongoDB async framework based on Pydantic, from Pydantic v1 to v2. And we'll have some fun talking MongoDB as well while we are at it.
Comments 
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

#432: Migrating to Pydantic 2.0: Beanie for MongoDB

#432: Migrating to Pydantic 2.0: Beanie for MongoDB

Michael Kennedy (@mkennedy)