Browse Source

revernt type ignore for import

pull/15091/head
svlandeg 4 months ago
parent
commit
521a7c818b
  1. 2
      fastapi/dependencies/utils.py

2
fastapi/dependencies/utils.py

@ -100,7 +100,7 @@ def ensure_multipart_is_installed() -> None:
except (ImportError, AssertionError): except (ImportError, AssertionError):
try: try:
# __version__ is available in both multiparts, and can be mocked # __version__ is available in both multiparts, and can be mocked
from multipart import __version__ from multipart import __version__ # type: ignore[no-redef,import-untyped] # ty: ignore[unused-ignore-comment]
assert __version__ assert __version__
try: try:

Loading…
Cancel
Save