Search code examples
Type annotation for partial functions...

pythonpython-typingmypy

Read More
type safety (mypy) for function parameters when using *args...

pythonpython-typingmypy

Read More
Python 3.6 type checking: numpy arrays and use defined classes...

pythonpython-typing

Read More
mypy complains about extended base class' attribute type...

pythonpython-typingmypyderived-class

Read More
Type checking against dynamically created objects...

pythonabstract-classpython-typing

Read More
key typechecking in mypy Dict type...

pythonpython-typingmypy

Read More
Set default value with type Union...

pythonpython-typingmypy

Read More
Typechecking dynamically added attributes...

pythonpython-typingmypy

Read More
trouble understanding the behavior of str() in mypy with --py2 flag...

pythonpython-2.7python-typingmypy

Read More
in python 3.8 how to test a field annotated as Literal in a dataclass is valid at run...

pythonpython-typingliterals

Read More
How to have a script exit if it's running a earlier version of the interpreter than required?...

pythonpython-2.7python-typing

Read More
How to share stubs for type hinting transitively?...

pythonpython-typingmypy

Read More
Can I simplify deriving from a string type in Python?...

pythonpython-typingmypy

Read More
Python: why use overloading instead of *args in a function (especially when the type of arguments do...

pythonloopspython-typingpython-itertools

Read More
using tuple() on a list does not return an identical tuple according to typing...

pythontuplespython-typing

Read More
How do I get Pylance's type checking to work with this Pydantic example?...

pythonpython-typingpydanticpyright

Read More
Use union of arg types instead of supertype for generic variadic function...

pythonpython-typingmypy

Read More
Python Type Issue - Pylance - Cannot access member "..." for type "..." Member &...

pythonpython-typingpyright

Read More
Polymorphism in Callablle under python type checking (Pylance)...

pythonpython-typingpyright

Read More
Python: How to annotate a variable number of iterable attributes?...

pythonpython-typing

Read More
Incompatible `__iadd__` and `__add__` in mypy...

pythonpython-typingmypy

Read More
Nested generics in python using the returns package...

pythonpython-typingmypy

Read More
Type check Pydantic BaseModel as type hint with mypy...

pythonpython-typingmypypydantic

Read More
NewType for Callables in Python...

pythonpython-typingmypy

Read More
Pylance (VS Code type checking) mistakes the count() infinite iterator as finite...

pythonpython-typingpyright

Read More
How to make generic proxy types work with static type checkers...

pythonpython-typing

Read More
Why does pyright strict mode not flag "for k, v in dict" without "items()" as an...

pythondictionarypython-typingpyright

Read More
How to assign a type hint from the return type hint of a function...

pythonpython-typingpyright

Read More
Why isn't Python NewType compatible with isinstance and type?...

pythonpython-typing

Read More
How to use a type stored in a class variable as type hint for a parameter of a method of the same cl...

pythonpython-typing

Read More
BackNext