Code
Hub
Workspaces
Connect your AI tool
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pallets/click
/ flush
Method
flush
src/click/testing.py:129–131 · src/click/testing.py::BytesIOCopy.flush
(self)
Source
from the content-addressed store, hash-verified
127
self.copy_to = copy_to
128
129
def
flush(self) -> None:
130
super().flush()
131
self.copy_to.flush()
132
133
def
write(self, b: ReadableBuffer) -> int:
134
self.copy_to.write(b)
Callers
14
test_bytesiocopy_writes_to_both
Function · 0.95
test_bytesiocopy_flush_propagates
Function · 0.95
render_finish
Method · 0.45
render_progress
Method · 0.45
get_pager_file
Function · 0.45
_tempfilepager
Function · 0.45
raw_terminal
Function · 0.45
visible_input
Method · 0.45
hidden_input
Method · 0.45
_getchar
Method · 0.45
invoke
Method · 0.45
echo_via_pager
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected