MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / _entry

Function _entry

tests/server/test_session_index.py:20–27  ·  view source on GitHub ↗
(sid: str = 's1', t: float = 1000.0)

Source from the content-addressed store, hash-verified

18
19
20def _entry(sid: str = 's1', t: float = 1000.0) -> SessionIndexEntry:
21 return SessionIndexEntry(
22 session_id=sid,
23 transcript_session_id=f'tx_{sid}',
24 cwd='/tmp/work',
25 created_at=t,
26 last_active_at=t,
27 )
28
29
30def test_load_missing_file_returns_empty(tmp_path):

Calls 1

SessionIndexEntryClass · 0.90

Tested by

no test coverage detected