Browse Source

🔥 Remove unused imports

pull/14262/head
Sebastián Ramírez 9 months ago
parent
commit
eef80ba1e6
  1. 6
      fastapi/dependencies/utils.py

6
fastapi/dependencies/utils.py

@ -1,5 +1,4 @@
import inspect import inspect
import sys
from contextlib import AsyncExitStack, contextmanager from contextlib import AsyncExitStack, contextmanager
from copy import copy, deepcopy from copy import copy, deepcopy
from dataclasses import dataclass from dataclasses import dataclass
@ -80,11 +79,6 @@ from typing_extensions import Annotated, Literal, get_args, get_origin
from .. import temp_pydantic_v1_params from .. import temp_pydantic_v1_params
if sys.version_info >= (3, 13): # pragma: no cover
pass
else: # pragma: no cover
pass
multipart_not_installed_error = ( multipart_not_installed_error = (
'Form data requires "python-multipart" to be installed. \n' 'Form data requires "python-multipart" to be installed. \n'
'You can install "python-multipart" with: \n\n' 'You can install "python-multipart" with: \n\n'

Loading…
Cancel
Save