From b40c106a8ca08cceb1504c01dfef3772a32bd46c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci-lite[bot]" <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Date: Mon, 18 May 2026 21:51:08 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Auto=20format?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fastapi/routing.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fastapi/routing.py b/fastapi/routing.py index 35bad15578..b3a368ac95 100644 --- a/fastapi/routing.py +++ b/fastapi/routing.py @@ -4,6 +4,7 @@ import functools import inspect import json import types +import weakref from collections.abc import ( AsyncIterator, Awaitable, @@ -91,9 +92,6 @@ from starlette.routing import Mount as Mount # noqa from starlette.types import AppType, ASGIApp, Lifespan, Receive, Scope, Send from starlette.websockets import WebSocket from typing_extensions import deprecated -import inspect -import weakref -from typing import Any, TypedDict # Copy of starlette.routing.request_response modified to include the