From 0a116bd8723407b9897d8b0cd4c68cf5b037378b Mon Sep 17 00:00:00 2001 From: Motov Yurii <109919500+YuriiMotov@users.noreply.github.com> Date: Thu, 8 Jan 2026 12:54:04 +0100 Subject: [PATCH] Fix `Dict` -> `dict` --- fastapi/routing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastapi/routing.py b/fastapi/routing.py index 6f6d4aac2d..dc05f38d30 100644 --- a/fastapi/routing.py +++ b/fastapi/routing.py @@ -362,7 +362,7 @@ def get_request_handler( raw_response.background = solved_result.background_tasks return raw_response - response_args: Dict[str, Any] = {"background": solved_result.background_tasks} + response_args: dict[str, Any] = {"background": solved_result.background_tasks} # If status_code was set, use it, otherwise use the default from the # response class, in the case of redirect it's 307 if solved_result.response.status_code: