Update __init__.py

This commit is contained in:
BlakeOne
2024-04-10 15:24:54 -07:00
committed by GitHub
parent 6d63f9fe76
commit e737b2c325
+5 -7
View File
@@ -1,9 +1,4 @@
class NodePresets():
OUTPUT_NODE = True
FUNCTION = "func"
CATEGORY = "NodePresets"
RETURN_TYPES = ()
@classmethod
def INPUT_TYPES(s):
return {
@@ -11,8 +6,11 @@ class NodePresets():
"name": ("STRING", {"name": ""}),
},
}
RETURN_TYPES = ("*",)
OUTPUT_NODE = True
FUNCTION = "func"
CATEGORY = "NodePresets"
RETURN_TYPES = ("*",)
NODE_CLASS_MAPPINGS = { "NodePresets": NodePresets }