MCPcopy Create free account
hub / github.com/InternLM/InternBootcamp / flush

Method flush

internbootcamp/utils/tool_server/cli.py:131–133  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

129 f.flush()
130
131 def flush(self):
132 for f in self.files:
133 f.flush()
134
135 log_file_obj = open(temp_log_file, 'a', buffering=1) # 行缓冲
136 sys.stdout = TeeOutput(sys.__stdout__, log_file_obj)

Callers 6

redirect_output_to_logFunction · 0.45
writeMethod · 0.45
flushMethod · 0.45
writeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected