Files
tritant-ComfyUI_Custom_Switch/orchestrator.py
T
2025-09-23 15:53:56 +02:00

21 lines
682 B
Python

class OrchestratorNodeMuter:
NAME = "OrchestratorNode autoconfig"
DISPLAY_NAME = "Orchestrator (auto config)"
FUNCTION = "do_nothing"
CATEGORY = "Logic"
@classmethod
def INPUT_TYPES(cls):
# Le widget est maintenant 100% géré par le JavaScript.
return { "required": {} }
RETURN_TYPES = ()
OUTPUT_NODE = True
# La fonction n'a plus besoin d'argument.
def do_nothing(self):
return ()
# Ces dictionnaires restent inchangés
NODE_CLASS_MAPPINGS = { "OrchestratorNodeMuter": OrchestratorNodeMuter }
NODE_DISPLAY_NAME_MAPPINGS = { "OrchestratorNodeMuter": "OrchestratorNode autoconfig" }