Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in python-typing

Why do I lose `__doc__` on a parameterized generic?

How to define a type for a function (arguments and return type) with a predefined type?

python python-typing

Reusing type hints

How can I make "isinstance" on Protocols also include function signatures and data-types?

python python-typing

TypeVar describing a class that must subclass more than one class [duplicate]

python python-typing

Is collections.abc.Callable bugged in Python 3.9.1?

"at" sign (@) in Pylance/Pyright inlay hints/error messages

Determining if object is of typing.Literal type

Type hint for class method return error - name is not defined?

python pylint python-typing

How to use MaxLen of typing.Annotation of python 3.9?

python python-typing

How to get type annotation within python function scope?

python python-typing

Why doesn't parameter type "Dict[str, Union[str, int]]" accept value of type "Dict[str, str]" (mypy)

python python-typing mypy

How can I access to __annotations__ of parent class?

Conflict between mix-ins for abstract dataclasses

How can request.param be annotated in indirect parametrization?

Type hinting for generic singleton?

Union[ListNode, None] vs. Optional[ListNode] vs. Optional['ListNode'] [closed]

python python-typing

How to have optional keys in TypedDict?

OOP Python Overloading the '__init__' method