Update __init__.py

This commit is contained in:
BlakeOne
2024-04-10 15:23:12 -07:00
committed by GitHub
parent 58d776f45f
commit 6d63f9fe76
+20 -1
View File
@@ -1,2 +1,21 @@
class NodePresets():
OUTPUT_NODE = True
FUNCTION = "func"
CATEGORY = "NodePresets"
RETURN_TYPES = ()
@classmethod
def INPUT_TYPES(s):
return {
"required": {
"name": ("STRING", {"name": ""}),
},
}
RETURN_TYPES = ("*",)
NODE_CLASS_MAPPINGS = { "NodePresets": NodePresets }
WEB_DIRECTORY = "./js"
__all__ = ["WEB_DIRECTORY"]
__all__ = ["NODE_CLASS_MAPPINGS", "WEB_DIRECTORY"]