There was an error while loading. Please reload this page.
1 parent f31152e commit 8b62522Copy full SHA for 8b62522
1 file changed
sm_typing/__init__.py
@@ -19,3 +19,6 @@ def override(method): # type: ignore
19
20
if not hasattr(typing, 'Final'):
21
Final = None # type: ignore
22
+
23
+if not hasattr(typing, "Literal"):
24
+ from typing_extensions import Literal # noqa: F401, UP035
0 commit comments