from Hacker News

Migrating from Flask to FastAPI, part 3 (last part)

by tiangolo on 2/28/23, 5:46 PM with 1 comments

  • by tiangolo on 2/28/23, 5:52 PM

    Here it is! The last part of the Forethought blog post series, migrating from Flask to FastAPI.

    This includes:

    Concurrency, async and await, and how to mix it with blocking code.

    request and g pseudo-global variables.

    Advanced refactoring.