Skip to content

bagof.hints.flexi

Flexible "type-like" aliases for use in converters.

Attributes

OneOrIter module-attribute

OneOrIter = Union[T_co, Iterable[T_co]]

A value of a given type, or an iterable of values of that type.

OneOrSeq module-attribute

OneOrSeq = Union[T_co, Sequence[T_co]]

A value of a given type, or a sequence of values of that type.