class documentation

class ListRevisionsMode(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 files.ListRevisionsMode.path: Returns revisions with the same file path as identified by the latest file entry at the given file path or id. :ivar files.ListRevisionsMode.id: Returns revisions with the same file id as identified by the latest file entry at the given file path or id.

Method is_id Check if the union tag is ``id``.
Method is_other Check if the union tag is ``other``.
Method is_path Check if the union tag is ``path``.
Class Variable id Undocumented
Class Variable other Undocumented
Class Variable path Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_id(self): (source)

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

def is_other(self): (source)

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

def is_path(self): (source)

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

Undocumented

Undocumented

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented