@ -12,9 +12,9 @@ class Example:
Attributes
Attributes
----------
----------
RETURN_TYPES (`tuple`):
RETURN_TYPES (`tuple`):
The type of each element in the output tul ple.
The type of each element in the output tuple.
RETURN_NAMES (`tuple`):
RETURN_NAMES (`tuple`):
Optional: The name of each output in the output tul ple.
Optional: The name of each output in the output tuple.
FUNCTION (`str`):
FUNCTION (`str`):
The name of the entry-point method. For example, if `FUNCTION = "execute"` then it will run Example().execute()
The name of the entry-point method. For example, if `FUNCTION = "execute"` then it will run Example().execute()
OUTPUT_NODE ([`bool`]):
OUTPUT_NODE ([`bool`]):
@ -44,7 +44,7 @@ class Example:
* Key field_name (`string`): Name of a entry-point method's argument
* Key field_name (`string`): Name of a entry-point method's argument
* Value field_config (`tuple`):
* Value field_config (`tuple`):
+ First value is a string indicate the type of field or a list for selection.
+ First value is a string indicate the type of field or a list for selection.
+ Secou nd value is a config for type "INT", "STRING" or "FLOAT".
+ Second value is a config for type "INT", "STRING" or "FLOAT".
"""
"""
return {
return {
"required": {
"required": {
@ -61,7 +61,7 @@ class Example:
"min": 0.0,
"min": 0.0,
"max": 10.0,
"max": 10.0,
"step": 0.01,
"step": 0.01,
"round": 0.001, #The value represeting the precision to round to, will be set to the step value by default. Can be set to False to disable rounding.
"round": 0.001, #The value represen ting the precision to round to, will be set to the step value by default. Can be set to False to disable rounding.
"display": "number"}),
"display": "number"}),
"print_to_screen": (["enable", "disable"],),
"print_to_screen": (["enable", "disable"],),
"string_field": ("STRING", {
"string_field": ("STRING", {