Attributes#
| Attribute | Type | Description |
|---|---|---|
types | tuple[Representation, ...] | |
mode | UnionMode = 'any_of' | |
tag | TypingLiteral['Union'] = 'Union' |
Functions#
__init__#
__init__(types, mode='any_of', *, annotations=None, checks=()) -> None| Parameter | Type | Description |
|---|---|---|
types | tuple[Representation, ...] | |
mode | UnionMode = 'any_of' | |
annotations | Annotations | None = None | |
checks | tuple[Check, ...] = () |