34 lines
1.0 KiB
Python
34 lines
1.0 KiB
Python
class OrchestratorNodeMuter:
|
|
NAME = "OrchestratorNode Muter autoconfig"
|
|
DISPLAY_NAME = "Orchestrator Muter (auto config)"
|
|
FUNCTION = "do_nothing"
|
|
CATEGORY = "Logic"
|
|
|
|
@classmethod
|
|
def INPUT_TYPES(cls):
|
|
return { "required": {} }
|
|
|
|
RETURN_TYPES = ()
|
|
OUTPUT_NODE = True
|
|
|
|
def do_nothing(self):
|
|
return ()
|
|
|
|
class OrchestratorNodeToogle:
|
|
NAME = "OrchestratorNode Bypass autoconfig"
|
|
DISPLAY_NAME = "Orchestrator Bypass (auto config)"
|
|
FUNCTION = "do_nothing"
|
|
CATEGORY = "Logic"
|
|
|
|
@classmethod
|
|
def INPUT_TYPES(cls):
|
|
return { "required": {} }
|
|
|
|
RETURN_TYPES = ()
|
|
OUTPUT_NODE = True
|
|
|
|
def do_nothing(self):
|
|
return ()
|
|
|
|
NODE_CLASS_MAPPINGS = { "OrchestratorNodeToogle": OrchestratorNodeToogle, "OrchestratorNodeMuter": OrchestratorNodeMuter }
|
|
NODE_DISPLAY_NAME_MAPPINGS = { "OrchestratorNodeToogle": "OrchestratorNode Bypass autoconfig", "OrchestratorNodeMuter": "OrchestratorNode Muter autoconfig" } |