Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/openai/openai-agents-python
/ write_main_log_line
Function
write_main_log_line
examples/run_examples.py:569–571 ·
view source on GitHub ↗
(handle, line: str)
Source
from the content-addressed store, hash-verified
567
568
569
def
write_main_log_line(handle, line: str) -> None:
570
handle.write(line +
"\n"
)
571
handle.flush()
572
573
574
def
ensure_dirs(path: Path, is_file: bool | None = None) -> None:
Callers
1
safe_write_main
Function · 0.85
Calls
2
write
Method · 0.45
flush
Method · 0.45
Tested by
no test coverage detected