From 53b08f50d4d8e1696c9ee97926cc9c314c8937a7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 4 Nov 2023 05:37:44 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20[pre-commit.ci]=20Auto=20format?= =?UTF-8?q?=20from=20pre-commit.com=20hooks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fastapi/dependencies/utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fastapi/dependencies/utils.py b/fastapi/dependencies/utils.py index e82e210dd..9d99e9e69 100644 --- a/fastapi/dependencies/utils.py +++ b/fastapi/dependencies/utils.py @@ -239,7 +239,9 @@ def get_typed_signature(call: Callable[..., Any]) -> inspect.Signature: typed_params = [] for param in signature.parameters.values(): - param_name = param.name if param.name not in alias_dict else alias_dict[param.name] + param_name = ( + param.name if param.name not in alias_dict else alias_dict[param.name] + ) created_param = inspect.Parameter( name=param_name, kind=param.kind,