class documentation

class PollError(bb.Union): (source)

Known subclasses: dropbox.team.GroupsPollError

View In Hierarchy

Error returned by methods for polling the status of asynchronous job. 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 async.PollError.invalid_async_job_id: The job ID is invalid. :ivar async.PollError.internal_error: Something went wrong with the job on Dropbox's end. You'll need to verify that the action you were taking succeeded, and if not, try again. This should happen very rarely.

Method is_internal_error Check if the union tag is ``internal_error``.
Method is_invalid_async_job_id Check if the union tag is ``invalid_async_job_id``.
Method is_other Check if the union tag is ``other``.
Class Variable internal_error Undocumented
Class Variable invalid_async_job_id Undocumented
Class Variable other Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_internal_error(self): (source)

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

def is_invalid_async_job_id(self): (source)

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

def is_other(self): (source)

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

internal_error = (source)

Undocumented

invalid_async_job_id = (source)

Undocumented

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented