disguise developers

Designer Plugins

Plugins for Disguise Designer software.

TaskStatus

Base class: _BlipValue

Properties

info : str

Information string for error or general reporting

name : str

The name of the task

progress : float

The progress towards completion of the task, from 0 to 1

reason : int

The reason the task has completed

Options: {0: ‘Unknown’, 1: ‘Success’, 2: ‘Failed’, 3: ‘Cancelled’}

state : int

The current state of the task

Options: {0: ‘Queued’, 1: ‘Running’, 2: ‘Completed’}

type : str

The type of the task

uid : str

Unique identifier for the task

Variables

Cancelled : Final = 3

Completed : Final = 2

Failed : Final = 2

Queued : Final = 0

Running : Final = 1

Success : Final = 1

Unknown : Final = 0