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

Method _items_path

examples/memory/file_session.py:86–87  ·  view source on GitHub ↗
(self, session_id: str)

Source from the content-addressed store, hash-verified

84 self.session_id = ""
85
86 def _items_path(self, session_id: str) -> Path:
87 return self._dir / f"{session_id}.json"
88
89 def _state_path(self, session_id: str) -> Path:
90 return self._dir / f"{session_id}-state.json"

Callers 4

_ensure_session_idMethod · 0.95
clear_sessionMethod · 0.95
_read_itemsMethod · 0.95
_write_itemsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected