mirror of https://github.com/tiangolo/fastapi.git
'fix' mypy issue
This commit is contained in:
parent
1dbb6048ca
commit
198c4acce9
|
|
@ -74,9 +74,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