Filter posts by kind
  1. Global (database) dependencies in FastAPI, done right with lifespans

    A deep dive into using ASGI lifespan to safely manage shared state in FastAPI, without falling back on globals.
    January 1, 2025
  2. Handling nested models in FastAPI form models

    Got a complex object you need to shove into a FastAPI form model? Here’s a clean way to do it.
    May 30, 2025