Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in python-typing

Using an Argument to a Generic Type in Another Generic Type

python python-typing

Why is "dict[int, int]" incompatible with "dict[int, int | str]"?

Python typing issue for child classes

python mypy python-typing

Type alias with union

python python-typing

How to correctly specify type hints with AsyncGenerator and AsyncContextManager

python python-typing mypy

Possible to enforce type hints?

python python-typing

Precise type annotating array (numpy.ndarray) of matplotlib Axes from plt.subplots()

Kwargs in a Protocol implementer: what is a valid signature?

How to express multiple inheritance in Python type hint?

python python-typing

Create recursive dataclass with self-referential type hints

Python typing support for not-None "late" variables

python python-typing

Python type-checking Protocols and Descriptors

How to make mypy correctly type-check a function using functools.partial?

python python-typing mypy

Is this a false positive [override] error? "Signature of (method) incompatible with supertype"

How to narrow types in python with Enum

python python-typing

Workaround for lack of intersection types with Python generics?

Expected type 'Iterable' (matched generic type 'Iterable[SupportsLessThanT]')

python python-typing

Wrapper stripping the generic parameter of a function erases its type parameter

python python-typing

Abbreviating dataclass decorator without losing IntelliSense

Is there a way to ignore mypy checks on a single function?

python python-typing mypy