(self, db_path=":memory:")
| 5 | |
| 6 | class SQLiteManager: |
| 7 | def __init__(self, db_path=":memory:"): |
| 8 | self.db_path = db_path |
| 9 | self.connection = sqlite3.connect(db_path, check_same_thread=False) |
| 10 | self._lock = threading.Lock() |
| 11 | self._closed = False |
| 12 | self._migrate_history_table() |
| 13 | self._create_history_table() |
| 14 | |
| 15 | def close(self): |
| 16 | """Close the database connection.""" |
nothing calls this directly
no test coverage detected