From dfd660badcc8940e2715df54a3c99f6be86cd00a Mon Sep 17 00:00:00 2001 From: StableLlama Date: Sun, 18 May 2025 16:41:02 +0200 Subject: [PATCH] clean up --- src/basic_data_handling/control_flow_nodes.py | 31 ------------------- 1 file changed, 31 deletions(-) diff --git a/src/basic_data_handling/control_flow_nodes.py b/src/basic_data_handling/control_flow_nodes.py index fdc1c74..1f8d183 100644 --- a/src/basic_data_handling/control_flow_nodes.py +++ b/src/basic_data_handling/control_flow_nodes.py @@ -252,37 +252,6 @@ class FlowSelect(ComfyNodeABC): return ExecutionBlocker(None), value -class FlowSelect(ComfyNodeABC): - """ - Select the direction of the flow. - - This node takes a value and directs it to either the "true" or "false" output. - - Note: for dynamic switching in a Data Flow you might want to use - "filter select" instead. - """ - @classmethod - def INPUT_TYPES(cls): - return { - "required": { - "value": (IO.ANY, {}), - "select": (IO.BOOLEAN, {}), - } - } - - RETURN_TYPES = (IO.ANY, IO.ANY) - RETURN_NAMES = ("true", "false") - CATEGORY = "Basic/flow control" - DESCRIPTION = cleandoc(__doc__ or "") - FUNCTION = "select" - - def select(self, value, select = True) -> tuple[Any, Any]: - if select: - return value, ExecutionBlocker(None) - else: - return ExecutionBlocker(None), value - - NODE_CLASS_MAPPINGS = { "Basic data handling: IfElse": IfElse, "Basic data handling: IfElifElse": IfElifElse,