class documentation

class WriteConflictError(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.WriteConflictError.file: There's a file in the way. :ivar files.WriteConflictError.folder: There's a folder in the way. :ivar files.WriteConflictError.file_ancestor: There's a file at an ancestor path, so we couldn't create the required parent folders.

Method is_file Check if the union tag is ``file``.
Method is_file_ancestor Check if the union tag is ``file_ancestor``.
Method is_folder Check if the union tag is ``folder``.
Method is_other Check if the union tag is ``other``.
Class Variable file Undocumented
Class Variable file_ancestor Undocumented
Class Variable folder Undocumented
Class Variable other 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_file_ancestor(self): (source)

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

def is_folder(self): (source)

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

def is_other(self): (source)

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

Undocumented

file_ancestor = (source)

Undocumented

Undocumented

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented