classmethod

This commit is contained in:
JO Jr.
2024-01-27 12:15:03 -05:00
parent a106f635fd
commit 117eb0b880
+3 -4
View File
@@ -8,10 +8,9 @@ def read_config(item):
class RandomSize:
CATEGORY = "utils"
def INPUT_TYPES(cls):
return {
"required": {},
}
@classmethod
def INPUT_TYPES(s):
return { "required":{} }
RETURN_TYPES = ("INT","INT")
RETURN_NAMES = ("width","height")
FUNCTION = "func"