-
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 2, 2025 -
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 31, 2025