Cleanup not executed on CancelledError before yield in FastAPI dependency
Determine whether the cleanup code in a FastAPI yield‑dependency runs when an asyncio.CancelledError is raised during the dependency’s setup phase, i.e., before the yield statement. The behavior depends on how the dependency is invoked and on the Python/asyncio version, with reports that try/finally blocks around the yield may be skipped if cancellation occu