Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/stas00/ml-engineering
/ apply_print_resets
Function
apply_print_resets
testing/testing_utils.py:344–345 ·
view source on GitHub ↗
(buf)
Source
from the content-addressed store, hash-verified
342
# final message
343
# it can handle a single string or a multiline buffer
344
def
apply_print_resets(buf):
345
return
re.sub(r
"^.*\r"
,
""
, buf, 0, re.M)
346
347
class
CaptureStd:
348
""
"
Callers
1
__exit__
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected