Fix AsyncSession Errors in FastAPI (SQLAlchemy 2.0 Guide)
Introduction
Building async APIs with FastAPI and SQLAlchemy 2.0 looks straightforward in tutorials, until you deploy to production.
Suddenly you start seeing issues like random MissingGreenlet errors, confusing async session behavior, blocked event ...
logiclooptech.dev5 min read