New posts in python-typing

NameError: name 'List' is not defined

mypy, type hint: Union[float, int] -> is there a Number type?

Type annotations for Enum attribute

Type hints when unpacking a tuple?

When do we use the 'Optional' for variable inputs in python function or class? [duplicate]

Type hinting in Python 2

How to use type hints in python 3.6?

How to type-hint non-basic parameters of a function?

How do I correctly add type-hints to Mixin classes?

Type hinting / annotation (PEP 484) for numpy.ndarray

Type hint for a function that returns only a specific set of values

Subclass in type hinting

Using the class as a type hint for arguments in its methods [duplicate]

Using List/Tuple/etc. from typing vs directly referring type as list/tuple/etc

mypy arg should be one of a set of functions

How do I annotate types in a for-loop?

Type hints with user defined classes

How can I tell PyCharm what type a parameter is expected to be?

Type hints in namedtuple

Difference between defining typing.Dict and dict?