From 51c5e488e5ba20c370f3e1e7fa02cca8941ea77d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Wed, 3 Sep 2025 18:58:58 +0200 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Refactor=20AsyncExitStack?= =?UTF-8?q?=20import=20from=20contextlib?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fastapi/middleware/asyncexitstack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastapi/middleware/asyncexitstack.py b/fastapi/middleware/asyncexitstack.py index 30a0ae626..7d34aa9ed 100644 --- a/fastapi/middleware/asyncexitstack.py +++ b/fastapi/middleware/asyncexitstack.py @@ -1,6 +1,6 @@ +from contextlib import AsyncExitStack from typing import Optional -from fastapi.concurrency import AsyncExitStack from starlette.types import ASGIApp, Receive, Scope, Send