class documentation

class GroupCreation(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 team_policies.GroupCreation.admins_and_members: Team admins and members can create groups. :ivar team_policies.GroupCreation.admins_only: Only team admins can create groups.

Method is_admins_and_members Check if the union tag is ``admins_and_members``.
Method is_admins_only Check if the union tag is ``admins_only``.
Class Variable admins_and_members Undocumented
Class Variable admins_only Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_admins_and_members(self): (source)

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

def is_admins_only(self): (source)

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

admins_and_members = (source)

Undocumented

admins_only = (source)

Undocumented

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

Undocumented

_catch_all = (source)

Undocumented