Search code examples
Mypy error: PEP 695 type aliases are not yet supported...

pythonmypypython-typingpython-3.12

Read More
mypy warning on numpy.apply_along_axis...

pythonnumpypython-typingmypy

Read More
How would you type hint Dict in Python with constant form but multiple types?...

pythonlistpython-typing

Read More
Dunder method other param type...

pythonpython-typing

Read More
Accessing typing.Literal values...

pythonpython-typing

Read More
Re-decorate a python (class) decorator...

pythonpython-typingpython-decoratorspython-dataclasses

Read More
Type annotations for Enum attribute...

pythonenumspython-typing

Read More
Python typing specific substring type...

pythonpython-typing

Read More
Using unpacked TypedDict for specifying function arguments...

pythonpython-typing

Read More
Pythonic type hints with pandas?...

pythonpandaspython-typing

Read More
Make class attribute private outside API for users, but public inside API for developers...

pythonpython-typingmypypylancepyright

Read More
Unsupported converter, only named functions, types and lambdas are currently supported...

pythonpython-typingmypypython-attrs

Read More
How to type annotate the splat/spread function...

pythonpython-typing

Read More
Type hint for a file or file-like object?...

pythonpython-typing

Read More
How to define final classvar variable in python...

pythonpython-typing

Read More
Python typing annotation for an object built with a class method...

pythonpython-typingpyright

Read More
How to handle typing of member variable that is initialized during __post_init__() of dataclass...

pythonpython-typingpython-dataclasses

Read More
MyPy linting conflicting typing with typing.Self...

pythonpython-typingmypy

Read More
Typing: How to consider class arguments wrapped with partial?...

pythonpython-typing

Read More
Type hinting an object created by typing.Literal[]...

pythonpython-typingpyright

Read More
Typing polars dataframe with pandera and mypy validation...

pythonpython-typingmypypython-polarspandera

Read More
MyPy reporting problem: NamedTuple type as an attribute is not supported...

pythonpython-typingmypy

Read More
Using signature of implemented method on Derived class for inherited method from Base class in a &qu...

pythonpython-typing

Read More
mypy gives "Incompatible default for argument" when Dict param defaults None...

pythonpython-typingmypypylint

Read More
Mypy: How should I type a dict that has strings as keys and the values can be either strings or list...

pythonpython-typingmypy

Read More
mypy and variance on function returning a list of subclasses based on input parameter...

pythonpython-typingmypypyright

Read More
Understanding a subclass of "TypedDict" with just one field defined...

pythonpython-typing

Read More
How can I dynamically define a function signature for pylance etc.?...

pythonpython-typingpyright

Read More
Typehint *args for variable length heterogenous return values like asyncio.gather()...

pythonpython-typing

Read More
What is the type hint for the pytest fixture "capsys"?...

pythonpytestpython-typingmypy

Read More
BackNext