Skip to content

Commit 1c3d120

Browse files
committed
Fix issue when typing_extensions is not installed
1 parent a00d915 commit 1c3d120

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apischema/typing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def get_args(tp): # type: ignore
7070
try:
7171
from typing_extensions import Literal, TypedDict, Protocol # noqa F401
7272
except ImportError:
73-
Literal, TypedDict = _FakeType, _FakeType
73+
pass
7474

7575

7676
_T = TypeVar("_T")

0 commit comments

Comments
 (0)