Skip to content

Commit 7f5d435

Browse files
committed
fix: import TypedDict from type_extensions for backward compatibility
1 parent 6c4f992 commit 7f5d435

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

commitizen/defaults.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88
Optional,
99
OrderedDict,
1010
Tuple,
11-
TypedDict,
1211
Union,
1312
)
1413

14+
from typing_extensions import TypedDict
15+
1516
# Type
1617
Questions = Iterable[MutableMapping[str, Any]]
1718

0 commit comments

Comments
 (0)