🔥 Remove repeated param declaration (#123)

This commit is contained in:
yihuang 2019-03-31 01:07:41 +08:00 committed by Sebastián Ramírez
parent 5a3cf863da
commit f806ba642a
1 changed files with 0 additions and 1 deletions

View File

@ -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,