Search code examples
Why doesn't parameter type "Dict[str, Union[str, int]]" accept value of type "Dic...


pythonpython-typingmypy

Read More
How to annotate attribute that can be implemented as property?...


pythonpython-typingmypy

Read More
Python: type-hinting a classmethod that returns an instance of the class, for a class that is inheri...


pythonpython-typingmypy

Read More
How to declare a Protocol with a field which supports both a simple type and property?...


pythonpython-typingmypypyright

Read More
Mypy 1.10 reports error when functools.wraps() is used on a generic function...


pythonpython-typingmypypython-decorators

Read More
Python typing: Narrowing type from function that returns a Union...


pythonpython-typingmypy

Read More
How does `mypy` know the signature of the pydantic model?...


pythonpython-typingmypypydantic

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


pythonpython-typingmypy

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
Incompatible types when assigning an empty tuple to a specialised variable...


pythontuplesmypypython-typing

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


pythonpython-typingmypy

Read More
Passing on kwargs to complex functions...


pythonpython-typingmypy

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


pythonboto3python-typingmypyboto

Read More
mypy: Is it possible to define a shortcut for complex type?...


pythonpython-typingmypytype-alias

Read More
Python - typing - union of subscriptable type...


pythonnumpypython-typingmypy

Read More
mypy: Correct way of type-annotating list of multiple types...


pythonpython-typingmypy

Read More
mypy: "Item of Union has no attribute" error...


pythonpython-typingmypy

Read More
How to use typeshed with mypy?...


pythonpython-typingmypy

Read More
Property annotation that checks assignment to a guard value initially set to None...


pythonpython-typingmypy

Read More
Callable is invalid base class?...


pythonpython-typingmypy

Read More
Python type hints for generic *args (specifically zip or zipWith)...


pythonpython-typingmypy

Read More
Type hints for mypy for a decorator over staticmethod/classmethod...


pythonpython-typingmypy

Read More
mypy declares IO[bytes] incompatible with BinaryIO...


pythonpython-typingmypy

Read More
Does VSCode support Python .pyi files for IntelliSense?...


pythonvisual-studio-codepython-typingmypy

Read More
Why doesn't mypy pass when TypedDict calls update method...


pythonpython-typingmypy

Read More
Should arguments that default to None always be type hinted as Optional[]?...


pythonpython-typingmypy

Read More
What is the platform-independent mypy type annotation for asyncio event loop?...


pythonpython-asynciopython-typingmypy

Read More
How can mypy ignore a single line in a source file?...


pythonpython-typingmypy

Read More
BackNext