class documentation

class UserOnPaperDocFilter(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 paper.UserOnPaperDocFilter.visited: all users who have visited the Paper doc. :ivar paper.UserOnPaperDocFilter.shared: All uses who are shared on the Paper doc. This includes all users who have visited the Paper doc as well as those who have not.

Method is_other Check if the union tag is ``other``.
Method is_shared Check if the union tag is ``shared``.
Method is_visited Check if the union tag is ``visited``.
Class Variable other Undocumented
Class Variable shared Undocumented
Class Variable visited Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_other(self): (source)

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

def is_shared(self): (source)

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

def is_visited(self): (source)

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

Undocumented

Undocumented

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented