class documentation

class PendingUploadMode(bb.Union): (source)

View In Hierarchy

Flag to indicate pending upload default (for linking to not-yet-existing paths). 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 sharing.PendingUploadMode.file: Assume pending uploads are files. :ivar sharing.PendingUploadMode.folder: Assume pending uploads are folders.

Method is_file Check if the union tag is ``file``.
Method is_folder Check if the union tag is ``folder``.
Class Variable file Undocumented
Class Variable folder Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_file(self): (source)

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

def is_folder(self): (source)

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

Undocumented

Undocumented

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

Undocumented

_catch_all = (source)

Undocumented