Search code examples
What is the proper way to type hint the return value of an @asynccontextmanager?...


pythonpython-asynciopython-typingcontextmanagerpyright

Read More
Class cannot subclass 'QObject' (has type 'Any') using mypy...


pythonpyqtpython-typingmypy

Read More
Type hints: when to annotate...


pythonpython-typingmypy

Read More
How should a NamedTemporaryFile be annotated?...


pythonpython-typingmypy

Read More
Type hinting values that are multiple types?...


pythonpython-typing

Read More
Using type hints to translate Python to Cython...


pythonoptimizationcythonpython-typing

Read More
mypy error - incompatible type despite using 'Union'...


pythonpython-typingmypy

Read More
Type hint for Callable that takes kwargs...


pythonpython-typing

Read More
Type Hint for finite iterable...


pythonpython-typingiterable

Read More
Custom type hint annotation...


pythonpython-typingcode-completion

Read More
Instantiate a type that is a TypeVar...


pythonpython-typing

Read More
Python: how to override type hint on an instance attribute in a subclass?...


pythonpycharmsubclasspython-typing

Read More
What's the difference between type hinting in 3.3 and 3.5?...


pythonpython-3.5python-typing

Read More
How to create type hinting for a generic factory method?...


pythonpython-typing

Read More
Python type hints and `*args`...


pythonpycharmpython-typing

Read More
Type hint for a list of possible values...


pythonpython-typing

Read More
Python - curly braces in type hints...


pythonpycharmpython-typing

Read More
How can I type hint a dynamically set class attribute in a metaclass?...


pythonpython-typing

Read More
Using Mypy local stubs...


pythonpython-typingmypy

Read More
`Iterable[(int, int)]` tuple is not allowed in type hints...


pythonpython-typing

Read More
Python type-hinting, indexable object...


pythonpython-typing

Read More
Function annotation with two or more return parameters...


pythonpython-typing

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


pythonclasspython-3.7python-typing

Read More
Duck typing with python 3.5 style type-annotations...


pythonpython-typing

Read More
mypy: argument of method incompatible with supertype...


pythonpython-typingmypy

Read More
PyCharm type hinting enum iteration...


pythonenumspycharmpython-typing

Read More
When to use IO[str]/IO[bytes] and TextIO/BinaryIO in Python type hinting?...


pythonpython-typing

Read More
Type-Hinting Child class returning self...


pythonabstract-classpython-typingabc

Read More
How to correctly specify type hints with AsyncGenerator and AsyncContextManager...


pythonpython-typingmypy

Read More
How can I create a type hint that my returned list contains strings?...


pythonpython-typing

Read More
BackNext