Talk Python To Me
Talk Python To Me
Michael Kennedy
#353: SQLModel: The New ORM for FastAPI and Beyond
1 hour 18 minutes Posted Feb 18, 2022 at 8:00 am.
0:00
1:18:21
Download MP3
Show notes
Two frameworks that have taken the Python world by storm are FastAPI and Pydantic. Once you already have your data exchange modeled in Pydantic, you might want to use that code for storing it in the database. And, if you have DB models you might want to somehow use them to power and document the APIs built with FastAPI. But the popular ORMs, such as SQLAlchemy and others, far predate Pydantic. But could they be put together?