Functions
unpack_typevar(value)
unpack_typevar
Unpack TypeVar into a union of possible types.
Classes
GenericTypeProjector
Generic Type Projector.
value (TypeVar) – A type var instance.
A union of types.
type
Bases: object
object
type_hints (dict[str, type]) –
mapper (dict[TypeVar, type]) –
Build a new instance from model.
model (Union[Model, type[Model]]) – The model class.
A GenericTypeProjector instance.
Builder a projection of type vars values.
A dict of type hints.
dict[str, type]