Problemunvalidated
Yes, it will be reset as soon as the current HTTP view is done. — in a FastAPI app, that is done by the framework + application server (asgi or uvicorn). Tension: what will happen to SqlAlchemy session that is set in ContextVar if not to reset it? Outcome: the co-routine `main` returns.
718eaf70-9cc7-483b-a8ac-fc85716919d1
Yes, it will be reset as soon as the current HTTP view is done. — in a FastAPI app, that is done by the framework + application server (asgi or uvicorn). Tension: what will happen to SqlAlchemy session that is set in ContextVar if not to reset it? Outcome: the co-routine main returns.