pre-commit-ci-lite[bot]
3 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
1 deletions
-
fastapi/dependencies/utils.py
|
|
@ -33,7 +33,6 @@ from fastapi._compat import ( |
|
|
Undefined, |
|
|
Undefined, |
|
|
copy_field_info, |
|
|
copy_field_info, |
|
|
create_body_model, |
|
|
create_body_model, |
|
|
evaluate_forwardref, # ty: ignore[deprecated] |
|
|
|
|
|
field_annotation_is_scalar, |
|
|
field_annotation_is_scalar, |
|
|
field_annotation_is_scalar_sequence, |
|
|
field_annotation_is_scalar_sequence, |
|
|
field_annotation_is_sequence, |
|
|
field_annotation_is_sequence, |
|
|
@ -88,6 +87,8 @@ class _ForwardRefNamespace(dict[str, Any]): |
|
|
value = ForwardRef(key) |
|
|
value = ForwardRef(key) |
|
|
self[key] = value |
|
|
self[key] = value |
|
|
return value |
|
|
return value |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
multipart_incorrect_install_error = ( |
|
|
multipart_incorrect_install_error = ( |
|
|
'Form data requires "python-multipart" to be installed. ' |
|
|
'Form data requires "python-multipart" to be installed. ' |
|
|
'It seems you installed "multipart" instead. \n' |
|
|
'It seems you installed "multipart" instead. \n' |
|
|
|