Browse Source

🎨 Auto format

pull/15904/head
pre-commit-ci-lite[bot] 3 weeks ago
committed by GitHub
parent
commit
2d377b77f9
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      fastapi/dependencies/utils.py

3
fastapi/dependencies/utils.py

@ -763,8 +763,7 @@ def _get_multidict_value(
else:
value = values.get(alias, None)
if value is None or (
field_annotation_is_sequence(field.field_info.annotation)
and len(value) == 0
field_annotation_is_sequence(field.field_info.annotation) and len(value) == 0
):
if field.field_info.is_required():
return

Loading…
Cancel
Save