class documentation

class PaperDeploymentPolicy(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.PaperDeploymentPolicy.full: All team members have access to Paper. :ivar team_policies.PaperDeploymentPolicy.partial: Only whitelisted team members can access Paper. To see which user is whitelisted, check 'is_paper_whitelisted' on 'account/info'.

Method is_full Check if the union tag is ``full``.
Method is_other Check if the union tag is ``other``.
Method is_partial Check if the union tag is ``partial``.
Class Variable full Undocumented
Class Variable other Undocumented
Class Variable partial Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_full(self): (source)

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

def is_other(self): (source)

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

def is_partial(self): (source)

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

Undocumented

Undocumented

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented