From 940893f92c9ba0d7ae98713e18404c623afe4789 Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Sun, 2 Apr 2023 10:27:01 -0400 Subject: [PATCH] Update the example_node.py.example with RETURN_NAMES. --- custom_nodes/example_node.py.example | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/custom_nodes/example_node.py.example b/custom_nodes/example_node.py.example index 1bb1a5a..fb81726 100644 --- a/custom_nodes/example_node.py.example +++ b/custom_nodes/example_node.py.example @@ -11,6 +11,8 @@ class Example: ---------- RETURN_TYPES (`tuple`): The type of each element in the output tulple. + RETURN_NAMES (`tuple`): + Optional: The name of each output in the output tulple. FUNCTION (`str`): The name of the entry-point method. For example, if `FUNCTION = "execute"` then it will run Example().execute() OUTPUT_NODE ([`bool`]): @@ -61,6 +63,8 @@ class Example: } RETURN_TYPES = ("IMAGE",) + #RETURN_NAMES = ("image_output_name",) + FUNCTION = "test" #OUTPUT_NODE = False