Python & FastAPI30 sec read
Async SQLAlchemy 2.0: the mental model that clicks
Sessions are not connections. Connections are not transactions. Once you internalise the three-layer model, async SQLAlchemy stops feeling magical.
Python & FastAPI30 sec read
FastAPI 0.118 ships first-class WebSocket auth
The new release adds dependency injection for WebSocket connections, so you can finally reuse your JWT auth dependencies on /ws routes without manual header parsing.