Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/METR/vivaria
/ flush
Method
flush
pyhooks/pyhooks/python_server.py:78–79 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
76
self.on_newline = ends_with_newline
77
78
def
flush(self):
79
self.file.flush()
80
81
82
# used for logging and output capture
Callers
nothing calls this directly
Calls
1
flush
Method · 0.45
Tested by
no test coverage detected