-
Notifications
You must be signed in to change notification settings - Fork 45
/
ttNdev.py
34 lines (28 loc) · 971 Bytes
/
ttNdev.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# in_dev - likely broken
class ttN_compareInput:
@classmethod
def INPUT_TYPES(s):
return {"required": {"console_title": ("STRING", {"default": "ttN INPUT COMPARE"}),},
"optional": {"debug": ("", {"default": None}),
"debug2": ("", {"default": None}),}
}
RETURN_TYPES = tuple()
RETURN_NAMES = tuple()
FUNCTION = "debug"
CATEGORY = "🌏 tinyterra/dev"
OUTPUT_NODE = True
def debug(_, **kwargs):
values = []
for key, value in kwargs.items():
if key == "console_title":
print(value)
else:
print(f"{key}: {value}")
values.append(value)
return tuple()
NODE_CLASS_MAPPINGS = {
"ttN compareInput": ttN_compareInput,
}
NODE_DISPLAY_NAME_MAPPINGS = {
"ttN compareInput": "compareInput",
}