class documentation

class SyncSettingsError(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.SyncSettingsError.unsupported_combination: Setting this combination of sync settings simultaneously is not supported. :ivar files.SyncSettingsError.unsupported_configuration: The specified configuration is not supported.

Class Method path Create an instance of this class set to the ``path`` tag with value ``val``.
Method get_path Only call this if :meth:`is_path` is true.
Method is_other Check if the union tag is ``other``.
Method is_path Check if the union tag is ``path``.
Method is_unsupported_combination Check if the union tag is ``unsupported_combination``.
Method is_unsupported_configuration Check if the union tag is ``unsupported_configuration``.
Class Variable other Undocumented
Class Variable unsupported_combination Undocumented
Class Variable unsupported_configuration Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
@classmethod
def path(cls, val): (source)

Create an instance of this class set to the ``path`` tag with value ``val``. :param LookupError val: :rtype: SyncSettingsError

def get_path(self): (source)

Only call this if :meth:`is_path` is true. :rtype: LookupError

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

def is_unsupported_combination(self): (source)

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

def is_unsupported_configuration(self): (source)

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

Undocumented

unsupported_combination = (source)

Undocumented

unsupported_configuration = (source)

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented