Re:Python type hints may not be not for me in practice
by maleldil on Wednesday November 27, 2024 @06:23PM
(#42260822)
You can use TypedDict from `typing_extensions` if your version doesn't have it. You can use a lot of the newer stuff from there, too, especially if you enable `__future__.annotations`.
How old is your Python, though? TypedDict is from 3.8. That was 5 years ago.
How old is your Python, though? TypedDict is from 3.8. That was 5 years ago.