MCPcopy Create free account
hub / github.com/openai/openai-agents-python / safe_write_main

Function safe_write_main

examples/run_examples.py:662–664  ·  view source on GitHub ↗
(line: str)

Source from the content-addressed store, hash-verified

660 print("Augmented subprocess PATH using interactive shell/common tool directories.")
661
662 def safe_write_main(line: str) -> None:
663 with main_log_lock:
664 write_main_log_line(main_log, line)
665
666 def run_single(example: ExampleScript) -> ExampleResult:
667 relpath = example.relpath

Callers 2

run_singleFunction · 0.85
run_examplesFunction · 0.85

Calls 1

write_main_log_lineFunction · 0.85

Tested by

no test coverage detected