Demo tasks#

How to use

These tasks come from ewoks_orange_example_addon ewokscore. It can be installed with

pip install ewoks_orange_example_addon ewokscore

CondSumTask#

Check whether a value is too small

Identifier:
ewokscore.tests.examples.tasks.condsumtask.CondSumTask
Task type:
class
Inputs:
a*
b
delay
Outputs:
result
too_small

ErrorSumTask#

Add two number with intentional exception

Identifier:
ewokscore.tests.examples.tasks.errorsumtask.ErrorSumTask
Task type:
class
Inputs:
a
b
raise_error
Outputs:
result

NoOutputTask#

A task without outputs

Identifier:
ewokscore.tests.examples.tasks.nooutputtask.NoOutputTask
Task type:
class

SumList#

Add items from a list

Identifier:
ewokscore.tests.examples.tasks.sumlist.SumList
Task type:
class
Inputs:
list*
delay
Outputs:
sum

SumTask#

Add two numbers with a delay

Identifier:
ewokscore.tests.examples.tasks.sumtask.SumTask
Task type:
class
Inputs:
a*
b
delay
Outputs:
result

addfunc#

Add 1 to the first argument

Identifier:
ewokscore.tests.examples.tasks.addfunc.addfunc
Task type:
method
Inputs:
arg*
Outputs:
return_value

add#

Sum objects and add 1

Identifier:
ewokscore.tests.examples.tasks.simplemethods.add
Task type:
method
Outputs:
return_value

append#

Return positional arguments as a tuple

Identifier:
ewokscore.tests.examples.tasks.simplemethods.append
Task type:
method
Outputs:
return_value

ExampleTask#

Add +1 to a number

Identifier:
ewoks_orange_example_addon.tasks.exampletask.ExampleTask
Task type:
class
Inputs:
number*
Outputs:
result