From db7f2e4b1981d257afdb8aab65737b1f598f3ce8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci-lite[bot]" <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Date: Wed, 11 Mar 2026 15:04:55 +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/dependencies/utils.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fastapi/dependencies/utils.py b/fastapi/dependencies/utils.py index d83bb05361..1ff4c2483e 100644 --- a/fastapi/dependencies/utils.py +++ b/fastapi/dependencies/utils.py @@ -254,9 +254,7 @@ class _LenientDict(dict): return Any -def _try_resolve_annotated( - annotation_str: str, globalns: dict[str, Any] -) -> Any | None: +def _try_resolve_annotated(annotation_str: str, globalns: dict[str, Any]) -> Any | None: """Resolve an ``Annotated`` string annotation, tolerating missing names. Returns the evaluated ``Annotated`` type when the metadata contains a