mirror of https://github.com/tiangolo/fastapi.git
'fix' mypy issue
This commit is contained in:
parent
9d215added
commit
4ca7f7e25f
|
|
@ -65,9 +65,9 @@ from starlette.websockets import WebSocket
|
|||
from typing_extensions import Annotated, get_args, get_origin
|
||||
|
||||
try:
|
||||
from typing import TypeAliasType
|
||||
from typing_extensions import TypeAliasType
|
||||
except ImportError:
|
||||
TypeAliasType = None
|
||||
TypeAliasType = None # type: ignore[misc,assignment]
|
||||
|
||||
|
||||
multipart_not_installed_error = (
|
||||
|
|
|
|||
Loading…
Reference in New Issue