MCPcopy Index your code
hub / github.com/aws/aws-cli / flush

Method flush

awscli/s3transfer/upload.py:55–58  ·  view source on GitHub ↗

Flushes out any progress that has not been sent to its callbacks

(self)

Source from the content-addressed store, hash-verified

53 self._trigger_callbacks()
54
55 def flush(self):
56 """Flushes out any progress that has not been sent to its callbacks"""
57 if self._bytes_seen > 0:
58 self._trigger_callbacks()
59
60 def _trigger_callbacks(self):
61 for callback in self._callbacks:

Callers 15

print_Function · 0.45
write_git_parametersMethod · 0.45
uni_printFunction · 0.45
on_progressMethod · 0.45
_print_log_eventsMethod · 0.45
stopMethod · 0.45
_download_logMethod · 0.45
writeMethod · 0.45
_run_mainMethod · 0.45
_run_mainMethod · 0.45
_run_mainMethod · 0.45
_run_mainMethod · 0.45

Calls 1

_trigger_callbacksMethod · 0.95

Tested by

no test coverage detected