mirror of
https://github.com/rjNemo/fastapi
synced 2026-06-06 10:36:39 +00:00
🔥 Remove repeated param declaration (#123)
This commit is contained in:
parent
5a3cf863da
commit
f806ba642a
1 changed files with 0 additions and 1 deletions
|
|
@ -100,7 +100,6 @@ def get_dependant(*, path: str, call: Callable, name: str = None) -> Dependant:
|
|||
lenient_issubclass(param.annotation, param_supported_types)
|
||||
or param.annotation == param.empty
|
||||
), f"Path params must be of one of the supported types"
|
||||
param = signature_params[param_name]
|
||||
add_param_to_fields(
|
||||
param=param,
|
||||
dependant=dependant,
|
||||
|
|
|
|||
Loading…
Reference in a new issue