From 755c48d78ea2381b3554de729e36acfb381ebc67 Mon Sep 17 00:00:00 2001 From: Hayden Reeve <39004735+HaydenReeve@users.noreply.github.com> Date: Tue, 2 Jul 2024 05:21:12 +0800 Subject: [PATCH] Fix several typos in example_node.py.example (#3204) This change includes corrections for several spelling errors in the documentation of example_node.py.example file. These were previously raised by #3157, but they missed a few. --- custom_nodes/example_node.py.example | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/custom_nodes/example_node.py.example b/custom_nodes/example_node.py.example index f0663259..57c9cbed 100644 --- a/custom_nodes/example_node.py.example +++ b/custom_nodes/example_node.py.example @@ -12,9 +12,9 @@ class Example: Attributes ---------- RETURN_TYPES (`tuple`): - The type of each element in the output tulple. + The type of each element in the output tuple. RETURN_NAMES (`tuple`): - Optional: The name of each output in the output tulple. + Optional: The name of each output in the output tuple. FUNCTION (`str`): The name of the entry-point method. For example, if `FUNCTION = "execute"` then it will run Example().execute() OUTPUT_NODE ([`bool`]): @@ -44,7 +44,7 @@ class Example: * Key field_name (`string`): Name of a entry-point method's argument * Value field_config (`tuple`): + First value is a string indicate the type of field or a list for selection. - + Secound value is a config for type "INT", "STRING" or "FLOAT". + + Second value is a config for type "INT", "STRING" or "FLOAT". """ return { "required": { @@ -61,7 +61,7 @@ class Example: "min": 0.0, "max": 10.0, "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 representing the precision to round to, will be set to the step value by default. Can be set to False to disable rounding. "display": "number"}), "print_to_screen": (["enable", "disable"],), "string_field": ("STRING", {