Close the persistent connection.
(self)
| 49 | self._init_schema() |
| 50 | |
| 51 | def close(self): |
| 52 | """Close the persistent connection.""" |
| 53 | with self._lock: |
| 54 | try: |
| 55 | self._conn.close() |
| 56 | except Exception: |
| 57 | pass |
| 58 | |
| 59 | def _init_schema(self): |
| 60 | """Initialize database schema if not exists.""" |
no outgoing calls
no test coverage detected