mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-12-20 03:23:00 +08:00
Remove test validate_inputs function on test node
This commit is contained in:
parent
5ede17309a
commit
0b5d4023f7
@ -153,12 +153,6 @@ class ComboOutputTestNode(io.ComfyNode):
|
||||
outputs=[io.Combo.Output(), io.Combo.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def validate_inputs(cls, combo: io.Combo.Type) -> bool:
|
||||
if combo not in ["option1", "option2", "option3"]:
|
||||
return "Invalid combo: {}".format(combo)
|
||||
return True
|
||||
|
||||
@classmethod
|
||||
def execute(cls, combo: io.Combo.Type, combo2: io.Combo.Type) -> io.NodeOutput:
|
||||
return io.NodeOutput(combo, combo2)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user