Search code examples
Difference between collections.abc.Sequence and typing.Sequence...

pythonpython-typinggeneric-collections

Read More
Is collections.abc.Callable bugged in Python 3.9.1?...

pythonpython-typingpython-3.9python-collections

Read More
types.FunctionType vs typing.Callable?...

pythonpycharmpython-typing

Read More
Handling conditional logic + sentinel value with mypy...

pythonpython-typingmypy

Read More
type friendly delegation in Python...

pythonpython-typing

Read More
Python typing for a subclass of list...

pythonlistsubclasspython-typing

Read More
How To Annotate an Argument That Can Be Cast As Boolean?...

pythonpython-typing

Read More
Use of colon ':' in type hints...

pythonslicepython-typing

Read More
Specify keys for mypy in python dictionary...

pythonpython-typingmypy

Read More
Why is mypy complaining about list comprehension when it can't be annotated?...

pythonpython-typingmypy

Read More
How to make type-annotation-only type assertions?...

pythonpython-typingmypy

Read More
Python 3.9+ typing.Collection vs tuple vs typing.Iterable...

pythonpython-typing

Read More
What is the meaning of __total__ dunder attribute?...

pythonpython-typing

Read More
Python - how to pass to a function argument type of a class object (typing)...

pythonpython-typing

Read More
Incompatible types when assigning an empty tuple to a specialised variable...

pythontuplesmypypython-typing

Read More
Type hint for list of strings?...

pythonpython-typing

Read More
Signature of {method} incompatible with super type {Class}...

pythonpython-typingmypy

Read More
Local variable annotation does not raise NameError...

pythonpython-typing

Read More
How can I create my own "parameterized" type in Python (like `Optional[T]`)?...

pythongenericspython-typing

Read More
Literal type hint unavailable outside of the __init__ method...

pythonpython-typingpyright

Read More
How can I type hint an attribute of type Class but initialized as None?...

pythonattributespython-typing

Read More
NameError: name 'List' is not defined...

pythonpython-typing

Read More
How to annotate type of an `OrderedDict` that is initialized with literals?...

pythonpython-typingordereddictionarypyright

Read More
Passing on kwargs to complex functions...

pythonpython-typingmypy

Read More
Turn off 'Python version 3.5 does not support variable annotations' error message...

pythonpycharmpython-3.6python-typing

Read More
In Python, how do I type hint 'has attribute'?...

pythonpython-typing

Read More
What is the proper way to add type hints after loading a YAML file?...

pythonpython-typing

Read More
type() function doesn't return correct result for a boto3 sqs object?...

pythonboto3python-typingmypyboto

Read More
Stub files are not included in the distribution despite py.typed marker included in the package...

pythonpython-typingdistutils

Read More
How to type hint a function's optional return parameter?...

pythonpython-typing

Read More
BackNext