Search code examples
Is it possible to type annotate Python function parameter used as TypedDict key to make mypy happy?...


pythonpython-typingmypy

Read More
mypy with SQLALchemy - error: Incompatible types in assignment...


pythonsqlalchemymypy

Read More
Overriding a method, mypy throws an "incompatible with super type" error when changing ret...


pythoninheritanceoverridingmypypython-typing

Read More
How to properly deal with [import-untyped] in mypy?...


pythonannotationspython-importmypy

Read More
mypy reporting error in generic function on return statement...


pythonpython-typingmypy

Read More
How do I type hint a frame object in Python?...


pythonpython-typingmypy

Read More
Is there any reason to enabled other "disallow" options if you have disallow_untyped_defs ...


mypy

Read More
How to build a type from another type and make mypy checking work...


pythonpython-typingmypy

Read More
How to type hint a decorator to dictate some parameters but not all?...


pythonpython-typingmypy

Read More
Access container class from contained class with python dataclasses...


pythonpython-typingmypypython-dataclasses

Read More
Understanding unbound type error with mypy...


pythonpython-typingmypy

Read More
Python generic type on function getting lost somewhere...


pythonpython-typingmypy

Read More
Type hint for itertools.product doesn't know length of elements...


pythonpython-typingpython-itertoolsmypy

Read More
Type alias for type of typevar and mypy...


pythongenericspython-typingmypytype-alias

Read More
Type annotation for classmethod returning instance...


pythonmypypython-typing

Read More
Python typing error when incrementing a dict value: 'Unsupported operand types for + ("obje...


pythonpython-typingmypy

Read More
Type hint for an object that can be used as a type hint itself...


pythonmypypython-typing

Read More
How to Bound TypeVar Correctly to Protocol?...


pythonpython-typingmypy

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


pythonmultiple-inheritancemypypython-typing

Read More
How to typehint return of an object's method to follow a function it receives during init?...


pythonqtpython-typingmypy

Read More
Python (mypy) incompatible types when working with typeVars and a callable argument...


pythonpython-typingmypypyright

Read More
How can I satisfy mypy when I have a potential callable that involves Self?...


pythonpython-typingmypy

Read More
TypeVar defined within if/else...


pythonpython-typingmypy

Read More
Mypy doesn't detect a type guard, why?...


pythonpython-typingmypypydantic

Read More
Define a jsonable type using mypy / PEP-526...


pythonpython-typingmypy

Read More
mypy error with conditional optional integers in dictionary...


pythonpython-typingmypy

Read More
How to annotate that a function produces a dataclass?...


pythonpython-typingmypy

Read More
How can I get stub files for `matplotlib`, `numpy`, `scipy`, `pandas`, etc.?...


pythonstubmypy

Read More
Type-checking issue with io.TextIOBase in a Union...


pythonpython-typingmypy

Read More
adding type information without dependency on typing module...


pythonpython-typingmypytypeshed

Read More
BackNext