MCPcopy Create free account
hub / github.com/cswry/VOSR / flush

Method flush

train_vosr_distill.py:224–228  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

222class SafeFileHandler(logging.FileHandler):
223 """FileHandler that silently ignores flush errors on filesystems that don't support it."""
224 def flush(self):
225 try:
226 super().flush()
227 except OSError:
228 pass
229
230 def emit(self, record):
231 try:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected