(vector: List[float])
| 101 | """Return whether a SQLite table exists in the PaperFlow database.""" |
| 102 | conn = db_ops.get_connection() |
| 103 | row = conn.execute( |
| 104 | "SELECT 1 FROM sqlite_master WHERE type = 'table' AND name = ?", |
| 105 | (table_name,), |
| 106 | ).fetchone() |
| 107 | conn.close() |
| 108 | return row is not None |
| 109 | |
| 110 | |
| 111 | def _vector_to_blob(vector: List[float]) -> bytes: |
no outgoing calls
no test coverage detected