MCPcopy Create free account
hub / github.com/debpalash/VoiceStudio / flush

Method flush

backend/utils/hf_progress.py:135–139  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

133 # the operation that printed. Logs are best-effort; work is not.
134 pass
135 def flush(self):
136 try:
137 getattr(self.fp, 'flush', lambda: None)()
138 except OSError:
139 pass
140 def __getattr__(self, name):
141 return getattr(self.fp, name)
142

Callers 15

_write_stdoutFunction · 0.45
safe_replaceFunction · 0.45
_save_pinned_certificateFunction · 0.45
_atomic_writeFunction · 0.45
writeMethod · 0.45
_write_bytes_atomicFunction · 0.45
_download_voice_audioFunction · 0.45
_copy_atomicFunction · 0.45
_streamFunction · 0.45

Calls

no outgoing calls