3 ms·
I think you need to use typing.NamedTuple to get typing support. On the other hand, you can use TypedDict [1] to get type hints on dictionaries. 1: https://www
by gjulianm 5y ago
I think you need to use typing.NamedTuple to get typing support. On the other hand, you can use TypedDict [1] to get type hints on dictionaries.
1: https://www.python.org/dev/peps/pep-0589/ https://www.python.org/dev/peps/pep-0589/