From c7b048099252b444725e919e679ff45770dfc09e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Thu, 4 Dec 2025 00:54:30 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Tweak=20types?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fastapi/dependencies/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastapi/dependencies/models.py b/fastapi/dependencies/models.py index 61cfbcb0a..ac54a3cc8 100644 --- a/fastapi/dependencies/models.py +++ b/fastapi/dependencies/models.py @@ -15,7 +15,7 @@ else: # pragma: no cover from asyncio import iscoroutinefunction -def _unwrapped_call(call: Optional[Callable[..., Any]]) -> Optional[Callable[..., Any]]: +def _unwrapped_call(call: Optional[Callable[..., Any]]) -> Any: if call is None: return call # pragma: no cover unwrapped = inspect.unwrap(_impartial(call))