pre-commit-ci-lite[bot]
5 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
3 additions and
1 deletions
-
fastapi/dependencies/utils.py
|
|
|
@ -197,7 +197,9 @@ def _get_flat_fields_from_params_with_origin( |
|
|
|
result.extend( |
|
|
|
[ |
|
|
|
(model_field, field) |
|
|
|
for model_field in get_cached_model_fields(field.field_info.annotation) |
|
|
|
for model_field in get_cached_model_fields( |
|
|
|
field.field_info.annotation |
|
|
|
) |
|
|
|
] |
|
|
|
) |
|
|
|
else: |
|
|
|
|