class documentation

class InvalidAccountTypeError(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. :ivar auth.InvalidAccountTypeError.endpoint: Current account type doesn't have permission to access this route endpoint. :ivar auth.InvalidAccountTypeError.feature: Current account type doesn't have permission to access this feature.

Method is_endpoint Check if the union tag is ``endpoint``.
Method is_feature Check if the union tag is ``feature``.
Method is_other Check if the union tag is ``other``.
Class Variable endpoint Undocumented
Class Variable feature Undocumented
Class Variable other Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_endpoint(self): (source)

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

def is_feature(self): (source)

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

def is_other(self): (source)

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

endpoint = (source)

Undocumented

Undocumented

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented