Update the example_node.py.example with RETURN_NAMES.

This commit is contained in:
comfyanonymous 2023-04-02 10:27:01 -04:00
parent 27fc64ad46
commit 940893f92c

View File

@ -11,6 +11,8 @@ class Example:
---------- ----------
RETURN_TYPES (`tuple`): RETURN_TYPES (`tuple`):
The type of each element in the output tulple. The type of each element in the output tulple.
RETURN_NAMES (`tuple`):
Optional: The name of each output in the output tulple.
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`]):
@ -61,6 +63,8 @@ class Example:
} }
RETURN_TYPES = ("IMAGE",) RETURN_TYPES = ("IMAGE",)
#RETURN_NAMES = ("image_output_name",)
FUNCTION = "test" FUNCTION = "test"
#OUTPUT_NODE = False #OUTPUT_NODE = False