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

Method read

tests/sandbox/test_extract.py:50–52  ·  view source on GitHub ↗
(self, path: Path, *, user: object = None)

Source from the content-addressed store, hash-verified

48 raise AssertionError("exec() should not be called in this test")
49
50 async def read(self, path: Path, *, user: object = None) -> io.IOBase:
51 _ = user
52 return self.normalize_path(path).open("rb")
53
54 async def write(self, path: Path, data: io.IOBase, *, user: object = None) -> None:
55 _ = user

Callers

nothing calls this directly

Calls 2

openMethod · 0.80
normalize_pathMethod · 0.45

Tested by

no test coverage detected