Bloodielie
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
2 deletions
-
fastapi/dependencies/utils.py
|
|
@ -285,8 +285,6 @@ def get_dependant( |
|
|
|
param=param, path=path, security_scopes=security_scopes |
|
|
|
) |
|
|
|
dependant.dependencies.append(sub_dependant) |
|
|
|
for param_name, param in signature_params.items(): |
|
|
|
if isinstance(param.default, params.Depends): |
|
|
|
continue |
|
|
|
if add_non_field_param_to_dependency(param=param, dependant=dependant): |
|
|
|
continue |
|
|
|