diff --git a/comfy_api/latest/_io.py b/comfy_api/latest/_io.py index 22c1df1b3..0ff38edc9 100644 --- a/comfy_api/latest/_io.py +++ b/comfy_api/latest/_io.py @@ -1033,7 +1033,7 @@ class MatchType(ComfyTypeIO): }) class Output(Output): - def __init__(self, id: str, template: MatchType.Template, display_name: str=None, tooltip: str=None, + def __init__(self, template: MatchType.Template, id: str=None, display_name: str=None, tooltip: str=None, is_output_list=False): super().__init__(id, display_name, tooltip, is_output_list) self.template = template diff --git a/comfy_extras/nodes_logic.py b/comfy_extras/nodes_logic.py index 10b3af7a6..84eed34f9 100644 --- a/comfy_extras/nodes_logic.py +++ b/comfy_extras/nodes_logic.py @@ -19,7 +19,7 @@ class SwitchNode(io.ComfyNode): io.MatchType.Input("on_true", template=template, lazy=True), ], outputs=[ - io.MatchType.Output("output", template=template, display_name="output"), + io.MatchType.Output(template=template, display_name="output"), ], )