MCPcopy Create free account
hub / github.com/apple/ml-streambridge / flush

Method flush

streambridge/utils.py:111–114  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

109 self.linebuf += line
110
111 def flush(self):
112 if self.linebuf != "":
113 self.logger.log(self.log_level, self.linebuf.rstrip())
114 self.linebuf = ""
115
116
117def disable_torch_init():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected