We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4e377d6 + 7eb1637 commit ac7aec3Copy full SHA for ac7aec3
1 file changed
geonamescache/types.py
@@ -1,6 +1,10 @@
1
+import sys
2
from typing import Literal
3
-from typing_extensions import NotRequired, TypedDict
4
+if sys.version_info >= (3, 11):
5
+ from typing import NotRequired, TypedDict
6
+else:
7
+ from typing_extensions import NotRequired, TypedDict
8
9
GeoNameIdStr = str
10
ISOStr = str
0 commit comments