specification: variable names and values
Variables names and values occur in three different locations in the ewoks graph representation:
-
default_inputs
of a node{ "default_inputs": [{"name":"a", "value":1}] }
-
data_mapping
of a link{ "data_mapping": [{"source_output": "result", "target_input": "a"}] }
-
conditions
of a link{ "conditions": [{"source_output": "result", "value": 10}] }
variables names
Variables names are always strings.
-
task_type == "class"
:-
list of input variable names: provided in the task description
-
list of output variable names: provided in the task description
-
-
task_type == "method"
:-
list of input variable names: unknown
-
list of output variable names:
["return_value"]
-
-
task_type == "script"
:-
list of input variable names: unknown
-
list of output variable names:
["return_code"]
-
-
task_type == "ppfmethod"
:-
list of input variable names: unknown
-
list of output variable names: unknown
-
-
task_type == "ppfport"
:-
list of input variable names: unknown
-
list of output variable names: unknown
-
variables values
Variables values should be json serializable
- bool
- number
- string
- list
- dict
- null