New posts in type-hinting

The correct way to annotate a "file type" in Python

What's the correct way to check if an object is a typing.Generic?

Why can I not use `function` in type hints, as I can use `int`, `str` and `list`? [duplicate]

How to create a user-defined type assertion in Python?

Defining a recursive type hint in Python?

How to use reveal_type in mypy

How to unit test functions that use type hinting

How do I get mypy to recognize that an argument of a function needs to be a subclass of a particular base class?

Type Hinting: Default Parameters

Why does `mypy --strict` not throw an error in this simple code?

What is the type hint for a (any) python module?

Type hint for a "char" / "character" type

Specifying a type to be a List of numbers (ints and/or floats)?

Typehints for Sized Iterable in Python

Type hinting for any object

Specify length of Sequence or List with Python typing module

How do you alias a type in Python?

Iterable objects and array type hinting?

Validating detailed types in python dataclasses

typing.Any vs object?