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

Function normalize_relpath

examples/run_examples.py:147–149  ·  view source on GitHub ↗
(relpath: str)

Source from the content-addressed store, hash-verified

145
146
147def normalize_relpath(relpath: str) -> str:
148 normalized = relpath.replace("\\", "/")
149 return str(PurePosixPath(normalized))
150
151
152def split_path_entries(path_value: str) -> list[str]:

Callers 5

relpathMethod · 0.85
discover_examplesFunction · 0.85
load_auto_skipFunction · 0.85
artifact_dir_for_exampleFunction · 0.85
parse_rerun_from_logFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected