Get a new database connection.
(self)
| 108 | conn.close() |
| 109 | |
| 110 | def _get_connection(self) -> sqlite3.Connection: |
| 111 | """Get a new database connection.""" |
| 112 | return sqlite3.connect(self.db_path, timeout=10.0) |
| 113 | |
| 114 | def get_by_name(self, container_name: str) -> Optional[ContainerRecord]: |
| 115 | """Get container record by name. |
no test coverage detected