basic ¶ MaybeOneOrMany module-attribute ¶ MaybeOneOrMany = Union[_T, Sequence[_T], None] A type that can be either a single item, a sequence of items, or None. OneOrMany module-attribute ¶ OneOrMany = Union[_T, Sequence[_T]] A type that can be either a single item or a sequence of items.