MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / _chat_session_row

Function _chat_session_row

skills/storage-helper/scripts/db_ops.py:278–286  ·  view source on GitHub ↗
(row: sqlite3.Row)

Source from the content-addressed store, hash-verified

276
277
278def _chat_session_row(row: sqlite3.Row) -> Dict[str, Any]:
279 return {
280 "session_id": row["session_id"],
281 "user_id": row["user_id"],
282 "title": row["title"],
283 "created_at": row["created_at"],
284 "updated_at": row["updated_at"],
285 "message_count": int(row["message_count"] or 0),
286 }
287
288
289def create_chat_session(

Callers 3

create_chat_sessionFunction · 0.85
list_chat_sessionsFunction · 0.85
get_chat_sessionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected