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

Function get_connection

skills/storage-helper/scripts/db_ops.py:22–26  ·  view source on GitHub ↗

Get database connection

()

Source from the content-addressed store, hash-verified

20
21
22def get_connection() -> sqlite3.Connection:
23 """Get database connection"""
24 conn = sqlite3.connect(DB_PATH)
25 conn.row_factory = sqlite3.Row
26 return conn
27
28
29def _normalize_identifier(value: Optional[str]) -> Optional[str]:

Callers 15

init_dbFunction · 0.70
ensure_chat_tablesFunction · 0.70
create_chat_sessionFunction · 0.70
save_chat_messageFunction · 0.70
list_chat_sessionsFunction · 0.70
get_chat_sessionFunction · 0.70
delete_chat_sessionFunction · 0.70
clear_chat_sessionsFunction · 0.70
create_profileFunction · 0.70
save_paperFunction · 0.70
get_profileFunction · 0.70
get_paper_by_arxiv_idFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected