From 6b465e7ed0687dbd41aeac2b52034d0a671a399f Mon Sep 17 00:00:00 2001 From: Sagar Bhandari <071bct532.sagar@pcampus.edu.np> Date: Sat, 20 Dec 2025 10:18:24 -0500 Subject: [PATCH] Apply formatting --- fastapi/routing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastapi/routing.py b/fastapi/routing.py index a957dcb1a4..129c62da52 100644 --- a/fastapi/routing.py +++ b/fastapi/routing.py @@ -20,6 +20,7 @@ from typing import ( Optional, Union, ) +from weakref import WeakKeyDictionary from annotated_doc import Doc from fastapi import params, temp_pydantic_v1_params @@ -76,7 +77,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 -from weakref import WeakKeyDictionary # Copy of starlette.routing.request_response modified to include the