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

Method _host_path

tests/sandbox/test_docker.py:91–93  ·  view source on GitHub ↗
(self, path: str | Path)

Source from the content-addressed store, hash-verified

89 return iter([buf.getvalue()]), {}
90
91 def _host_path(self, path: str | Path) -> Path:
92 container_path = Path(path)
93 return self._host_root / container_path.relative_to("/")
94
95
96class _PullRecorder:

Callers 4

get_archiveMethod · 0.95
activateMethod · 0.45
teardown_for_snapshotMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected