MCPcopy
hub / github.com/pythongosssss/ComfyUI-Custom-Scripts / load_text

Method load_text

py/text_files.py:92–95  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

90 return True
91
92 def load_text(self, **kwargs):
93 self.file = get_file(kwargs["root_dir"], kwargs["file"])
94 with open(self.file, "r") as f:
95 return (f.read(), )
96
97
98class LoadText(TextFileNode):

Callers 1

write_textMethod · 0.80

Calls 2

get_fileFunction · 0.85
readMethod · 0.80

Tested by

no test coverage detected