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

Function display_path

examples/run_examples.py:547–551  ·  view source on GitHub ↗
(path: Path)

Source from the content-addressed store, hash-verified

545
546
547def display_path(path: Path) -> str:
548 try:
549 return str(path.relative_to(ROOT_DIR))
550 except ValueError:
551 return str(path)
552
553
554def env_flag(name: str) -> bool | None:

Callers 2

run_singleFunction · 0.85
run_examplesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected