ewoksorange.bindings.taskexecutor.TaskExecutor#

class ewoksorange.bindings.taskexecutor.TaskExecutor(ewokstaskclass)[source]#

Bases: object

Create and execute an Ewoks task

Parameters:

ewokstaskclass (Type[Task])

create_task(log_missing_inputs=False, **kwargs)[source]#
Parameters:

log_missing_inputs (bool)

Return type:

None

property current_task: Task | None#
property done: bool | None#

Returns None when the task was not or could not be instantiated

property exception: Exception | None#

The instantiation exception, the execution exception or None

execute_task()[source]#
Return type:

None

property has_task: bool#
property output_variables: dict | None#
property succeeded: bool | None#

Returns None when the task was not or could not be instantiated