MCPcopy Index your code
hub / github.com/KnowledgeXLab/LeanRAG / write

Method write

tools/logger_factory.py:135–139  ·  view source on GitHub ↗
(self, buf)

Source from the content-addressed store, hash-verified

133 self.buf = ''
134
135 def write(self, buf):
136 # 去除多余的空白字符,记录非空的进度信息
137 self.buf = buf.strip()
138 if self.buf:
139 self.logger.log(self.level, self.buf)
140
141 def flush(self):
142 pass

Callers 15

evaluate_exampleFunction · 0.80
write_jsonlFunction · 0.80
write_jsonl_forceFunction · 0.80
write_txtFunction · 0.80
write_chunkFunction · 0.80
write_jsonlFunction · 0.80
write_jsonl_chunkFunction · 0.80
write_markdownFunction · 0.80
remove_text_in_bracketsFunction · 0.80
sort_large_fileFunction · 0.80
remove_duplicatesFunction · 0.80
str_full_to_half_widthFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected