Comment

Comment by tiangolo

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.

parent tiangolo 3 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton