Skip to content

Missing Type

types #

MissingType #

The type of the MISSING singleton sentinel value.

MISSING #

MISSING: Literal[MISSING] = MissingType()

A sentinel singleton that denotes a missing or omitted value.

MissingOr #

MissingOr = Union[T, MissingType]

Type hint to mark a type as being semantically optional.