class documentation
class JobStatus(async_.PollResultBase): (source)
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.JobStatus.complete: The asynchronous job has finished. :ivar JobError JobStatus.failed: The asynchronous job returned an error.
Class Method | failed |
Create an instance of this class set to the ``failed`` tag with value ``val``. |
Method | get |
The asynchronous job returned an error. |
Method | is |
Check if the union tag is ``complete``. |
Method | is |
Check if the union tag is ``failed``. |
Class Variable | complete |
Undocumented |
Method | _process |
Undocumented |
Inherited from PollResultBase
:
Method | is |
Check if the union tag is ``in_progress``. |
Class Variable | in |
Undocumented |
Class Variable | _catch |
Undocumented |