Browse Source

mypy lint

pull/13464/head
sneakers-the-rat 1 month ago
parent
commit
15eb6782dc
No known key found for this signature in database GPG Key ID: 6DCB96EF1E4D232D
  1. 2
      fastapi/dependencies/utils.py

2
fastapi/dependencies/utils.py

@ -717,7 +717,7 @@ def _get_multidict_value(
field: ModelField,
values: Mapping[str, Any],
alias: Union[str, None] = None,
return_default=True,
return_default: bool = True,
) -> Any:
alias = alias or field.alias
if is_sequence_field(field) and isinstance(values, (ImmutableMultiDict, Headers)):

Loading…
Cancel
Save