Simplify __init__.py

This commit is contained in:
BlakeOne
2024-04-13 17:11:19 -07:00
committed by GitHub
parent 06d22efffd
commit 35685b2b87
2 changed files with 3 additions and 15 deletions
+3
View File
@@ -0,0 +1,3 @@
WEB_DIRECTORY = "js"
NODE_CLASS_MAPPINGS = {}
__all__ = ["NODE_CLASS_MAPPINGS"]
-15
View File
@@ -1,15 +0,0 @@
# Placeholder class (unused)
class NodePresets():
@classmethod
def INPUT_TYPES(s):
return { "required": {} }
RETURN_TYPES = ("*",)
CATEGORY = "NodePresets"
FUNCTION = "func"
NODE_CLASS_MAPPINGS = { "NodePresets": NodePresets }
NODE_DISPLAY_NAME_MAPPINGS = {"NodePresets" : "NodePresets (Unused)"}
WEB_DIRECTORY = "./js"
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]