Browse Source

🎨 Auto format

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

3
fastapi/dependencies/utils.py

@ -33,7 +33,6 @@ from fastapi._compat import (
Undefined,
copy_field_info,
create_body_model,
evaluate_forwardref, # ty: ignore[deprecated]
field_annotation_is_scalar,
field_annotation_is_scalar_sequence,
field_annotation_is_sequence,
@ -88,6 +87,8 @@ class _ForwardRefNamespace(dict[str, Any]):
value = ForwardRef(key)
self[key] = value
return value
multipart_incorrect_install_error = (
'Form data requires "python-multipart" to be installed. '
'It seems you installed "multipart" instead. \n'

Loading…
Cancel
Save