Files
Bjornulf_custom_nodes/CUSTOM_STRING.py.txt
2024-07-06 12:05:16 +02:00

11 lines
293 B
Plaintext

class CustomStringType:
@classmethod
def INPUT_TYPES(s):
return {"required": {"value": ("STRING", {"multiline": True})}}
RETURN_TYPES = ("CUSTOM_STRING",)
FUNCTION = "passthrough"
CATEGORY = "Bjornulf"
def passthrough(self, value):
return (value,)