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

Function init_db

scripts/collect_all_papers.py:58–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56
57
58def init_db() -> sqlite3.Connection:
59 conn = sqlite3.connect(DB_PATH)
60 conn.row_factory = sqlite3.Row
61 return conn
62
63
64def paper_exists(conn: sqlite3.Connection, paper_id: str, source: str) -> bool:

Callers 1

collect_all_papersFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected