Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in python-typing

What's the correct way to type-hint a method that returns an instance of it's own class? [duplicate]

What Type do I use for SQLalchemy declarative_base?

Type a function with a callable [duplicate]

Inheriting Generic classes with restricted TypeVar

python mypy python-typing

What's the idiomatic way to increment a Python new integer type?

How do I pass arguments to custom static type hints in Python 3?

Python typehint for os.getenv causes downstream incompatible type errors

python mypy python-typing

Validate Python TypedDict at runtime

Python generic type that implements protocol

How should we type a callable with additional properties?

python python-typing

Incompatible types when assigning an empty tuple to a specialised variable

Generic[T] base class - how to get type of T from within instance?

Difference between TypeVar('T', A, B) and TypeVar('T', bound=Union[A, B])

How to hint at number *types* (i.e. subclasses of Number) - not numbers themselves?

Inherit generic type in python 3 with typing