(self, db_path: Path)
| 33 | """ |
| 34 | |
| 35 | def __init__(self, db_path: Path) -> None: |
| 36 | self.db_path = db_path |
| 37 | self.db_path.parent.mkdir(parents=True, exist_ok=True) |
| 38 | self._init_db() |
| 39 | |
| 40 | def _get_connection(self) -> sqlite3.Connection: |
| 41 | """Get a new database connection with WAL mode and busy timeout.""" |