by tiangolo on 2/14/23, 6:02 PM with 2 comments
by tiangolo on 2/14/23, 6:03 PM
Migrating from Flask to FastAPI, Part 2.
This is the juicy part, all the main code changes from Flask to FastAPI, including some auth and dependencies.
From Forethought with love.
For the advanced stuff, including the g pseudo-global variable, more techniques migrating from Flask to FastAPI, and mixing async and await with blocking code, wait for the next part.
by merpz on 2/14/23, 6:26 PM