|
| def | __init__ (self, bool started=False, int progress=-1, bool finished=False, bool failed=False) |
| |
| def | is_failed (self) |
| |
| def | id (self) |
| |
| def | get_uuid (self) |
| |
◆ __init__()
| def ayon_bin_distro.work_handler.worker.BaseProgressItem.__init__ |
( |
|
self, |
|
|
bool |
started = False, |
|
|
int |
progress = -1, |
|
|
bool |
finished = False, |
|
|
bool |
failed = False |
|
) |
| |
Base class for ProgressItem's can be used in headless mode
Args:
started (bool): signal that the work has started default false
progress (int): current progress of work 0-100 default -1 signals that there will no progress updates
finished (bool): signals that the work has finished default false
failed (bool): signals that the work has failed default false
Reimplemented in ayon_bin_distro.work_handler.worker.ProgressItem.
◆ get_uuid()
| def ayon_bin_distro.work_handler.worker.BaseProgressItem.get_uuid |
( |
|
self | ) |
|
get the UUID object of the class instance
Returns: UUID
◆ id()
| def ayon_bin_distro.work_handler.worker.BaseProgressItem.id |
( |
|
self | ) |
|
get the hex value of the UUID of this class instance
Returns: UUID.hex
◆ is_failed()
| def ayon_bin_distro.work_handler.worker.BaseProgressItem.is_failed |
( |
|
self | ) |
|
checks if the parent work item has failed.
Returns: bool true if failed
The documentation for this class was generated from the following file:
- /github/workspace/ayon_bin_distro/work_handler/worker.py