mirror of https://github.com/tiangolo/fastapi.git
🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
This commit is contained in:
parent
1b111fb00e
commit
53b08f50d4
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue