(self, path=":memory:")
| 11 | |
| 12 | class SqliteRepository: |
| 13 | def __init__(self, path=":memory:"): |
| 14 | self.path = path |
| 15 | self._lock = threading.Lock() |
| 16 | self._conn = sqlite3.connect(path, check_same_thread=False) |
| 17 | self._conn.row_factory = sqlite3.Row |
| 18 | self._init_schema() |
| 19 | |
| 20 | def _init_schema(self): |
| 21 | with self._conn: |
nothing calls this directly
no test coverage detected