Task
class tasks.task.Task
(execution, service, inputs, cls
)
This is the abstract parent class for all task types.
Parameters
Name | Type | Description |
---|---|---|
execution | ||
service | ||
inputs | ||
cls |
Outputs
Name | Type | Default | Description |
---|---|---|---|
execution_id | int | The ID of the task execution | |
message | str | The ended message for the task. If the task ended with an error, the message will contain information about what went wrong | |
status | str | The ended status for the task. Either "success" or "error". |
Methods
run ()