(self, db_path: str = ":memory:")
| 64 | """ |
| 65 | |
| 66 | def __init__(self, db_path: str = ":memory:") -> None: |
| 67 | self.db_path = db_path |
| 68 | self._lock = threading.Lock() |
| 69 | self._conn = sqlite3.connect(db_path, check_same_thread=False) |
| 70 | self._conn.row_factory = sqlite3.Row |
| 71 | self._init_schema() |
| 72 | |
| 73 | # ── 数据库初始化 ────────────────────────────────────────────────────────── |
| 74 |
nothing calls this directly
no test coverage detected