class documentation

class MembersRecoverError(UserSelectorError): (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 team.MembersRecoverError.user_unrecoverable: The user is not recoverable. :ivar team.MembersRecoverError.user_not_in_team: The user is not a member of the team. :ivar team.MembersRecoverError.team_license_limit: Team is full. The organization has no available licenses.

Method is_other Check if the union tag is ``other``.
Method is_team_license_limit Check if the union tag is ``team_license_limit``.
Method is_user_not_in_team Check if the union tag is ``user_not_in_team``.
Method is_user_unrecoverable Check if the union tag is ``user_unrecoverable``.
Class Variable other Undocumented
Class Variable team_license_limit Undocumented
Class Variable user_not_in_team Undocumented
Class Variable user_unrecoverable Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented

Inherited from UserSelectorError:

Method is_user_not_found Check if the union tag is ``user_not_found``.
Class Variable user_not_found Undocumented
def is_other(self): (source)

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

def is_team_license_limit(self): (source)

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

def is_user_not_in_team(self): (source)

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

def is_user_unrecoverable(self): (source)

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

Undocumented

team_license_limit = (source)

Undocumented

user_not_in_team = (source)

Undocumented

user_unrecoverable = (source)

Undocumented

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