Download comfyuiDerfuuMathAnd_derfuuNodes02/Derfuu_Nodes/debugNodes.py from ItchyFingaz/data: direct link, hf CLI and curl.
- Browser
- Download file 1.24 kB
-
https://huggingface.co/datasets/ItchyFingaz/data/resolve/main/comfyuiDerfuuMathAnd_derfuuNodes02/Derfuu_Nodes/debugNodes.py
- Command line
-
hf download hf://datasets/ItchyFingaz/data/comfyuiDerfuuMathAnd_derfuuNodes02/Derfuu_Nodes/debugNodes.py
-
curl -L -o debugNodes.py https://huggingface.co/datasets/ItchyFingaz/data/resolve/main/comfyuiDerfuuMathAnd_derfuuNodes02/Derfuu_Nodes/debugNodes.py
1.24 kB
| import custom_nodes.Derfuu_Nodes.types as type | |
| import custom_nodes.Derfuu_Nodes.fields as field | |
| from custom_nodes.Derfuu_Nodes.tree import TREE_DEBUG | |
| class baseDebugNode: | |
| def __init__(self): | |
| pass | |
| def INPUT_TYPES(cls): | |
| return { | |
| "required": { | |
| "FLOAT": (type.FLOAT,), | |
| "INTEGER": (type.INT,), | |
| "TUPLE": (type.TUPLE,), | |
| } | |
| } | |
| RETURN_TYPES = () | |
| CATEGORY = TREE_DEBUG | |
| FUNCTION = "print_values" | |
| OUTPUT_NODE = True | |
| def print_values(self, FLOAT=0, INTEGER=0, TUPLE=(0, 0)): | |
| print(FLOAT, INTEGER, TUPLE, sep="\n") | |
| return (None,) | |
| class extendedDebugNode: | |
| def __init__(self): | |
| pass | |
| def INPUT_TYPES(cls): | |
| return { | |
| "required": { | |
| "FLOAT": (type.FLOAT,), | |
| "INTEGER": (type.INT,), | |
| "TUPLE": (type.TUPLE,), | |
| # "ABS": (type.ABS,), | |
| } | |
| } | |
| RETURN_TYPES = () | |
| CATEGORY = TREE_DEBUG | |
| FUNCTION = "print_values" | |
| OUTPUT_NODE = True | |
| def print_values(self, FLOAT=0, INTEGER=0, TUPLE=(0, 0)): | |
| print(FLOAT, INTEGER, TUPLE, sep="\n") | |
| return (None,) |