unknown_union

atproto_client.models.unknown_union.OpenUnion

the described types, plus a DotDict for a $type released after this SDK.

Type:

An open ref union

alias of Union[_T, DotDict[DotDict]][Union[_T, DotDict[DotDict]]]

class atproto_client.models.unknown_union.UnknownUnionFallback

Bases: object

Annotation for open ref unions: an unrecognized $type falls back to DotDict.

Applied to t.Union[<known members>, 'dot_dict.DotDictType']. Members are discriminated by py_type as usual, so a known type that fails validation still raises. Only a $type that matches no member, or a missing one, degrades to a DotDict.