Learnings from migrating a Flask app to FastAPI
Tech Talks | Links PreTalx | Slides

I held this talk at PyCon & PyData DE 2025.
Conference
- PyCon & PyData DE 2025
Description
Building HTTP APIs has become a normal part of the work as a software or data engineer within the last 10 to 15 years. In the Python ecosystem Flask was the only option to build an HTTP API for many years. After its initial release in 2018 FastAPI quickly became a serious alternative to build such APIs with Python.
In this talk I will share my experiences from migrating an existing HTTP API built with flask to a FastAPI-based API.
We will discuss the following topics:
- Why did we migrate at all?
- Data modeling
- Async is overrated
- Problems you will encounter
- Migration strategy
The talk will show you the practical differences between developing APIs with FastAPI or Flask.
Video
- to be published