class documentation

class AccountState(bb.Union): (source)

View In Hierarchy

This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method.

Method is_locked Check if the union tag is ``locked``.
Method is_other Check if the union tag is ``other``.
Method is_unlocked Check if the union tag is ``unlocked``.
Class Variable locked Undocumented
Class Variable other Undocumented
Class Variable unlocked Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_locked(self): (source)

Check if the union tag is ``locked``. :rtype: bool

def is_other(self): (source)

Check if the union tag is ``other``. :rtype: bool

def is_unlocked(self): (source)

Check if the union tag is ``unlocked``. :rtype: bool

Undocumented

Undocumented

unlocked = (source)

Undocumented

def _process_custom_annotations(self, annotation_type, field_path, processor): (source)

Undocumented

_catch_all: str = (source)

Undocumented