News for hackers. Stuff that matters.
Re:Migrating from Flask to FastAPI, Part 2 by tiangolo on Tuesday February 14, 2023 @01:03PM (#34793287)
I don't have chocolates for you all, but you might like this.

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.

Re:Migrating from Flask to FastAPI, Part 2 by merpz on Tuesday February 14, 2023 @01:26PM (#34793704)
Flask is a thing of the past