Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in python-typing

How to reference a python class attribute's type in a function signature

How do I declare the type of a python generator [duplicate]

python python-typing

Typing hints PyCharm for a class used within itself [duplicate]

Type hinting for a function wrapping another function, accepting the same arguments

python python-typing

Why does mypy have a hard time with assignment to nested dicts?

python python-typing mypy

Issue with Handling Union Types in Generic Class Properties

Type expression describing the string literal union of Enum names?

python enums python-typing

MyPy can't find types for my local package

Type annotation for dict.items() [duplicate]

What's the type hint for an array?

python arrays python-typing

os.PathLike[Any] vs os.PathLike[str]

python mypy python-typing

Skipping analyzing "feedparser.util": module is installed, but missing library stubs or py.typed marker

typing.Protocol class `__init__` method not called during explicit subtype construction

Type hinting enum member value in Python

python enums python-typing

Can you type hint overload a return type for a method based on an argument passed into the constructor?

How to create typing.Literal from multiple lists of values in python

python python-typing

Should arguments that default to None always be type hinted as Optional[]? [duplicate]

python python-typing mypy

Is there a preferable way to create type aliases for compound types with Python's typing module? [duplicate]

python python-typing