MCPcopy
hub / github.com/stas00/ml-engineering / write

Method write

debug/NicerTrace.py:172–176  ·  view source on GitHub ↗
(self, msg)

Source from the content-addressed store, hash-verified

170 return getattr(self.stdout, attr)
171
172 def write(self, msg):
173 # comment out the next line if you don't want to write to stdout
174 self.stdout.write(msg)
175 self.file.write(msg)
176 self.file.flush()
177
178 def flush(self):
179 # comment out the next line if you don't want to write to stdout

Callers 7

unpackFunction · 0.45
unpackFunction · 0.45
__exit__Method · 0.45
write_fileFunction · 0.45

Calls 1

flushMethod · 0.45

Tested by 3

__exit__Method · 0.36
write_fileFunction · 0.36