(self, key: str)
| 122 | self.conn.commit() |
| 123 | |
| 124 | def delete(self, key: str) -> None: |
| 125 | self.conn.execute("DELETE FROM cache WHERE key = ?", (key,)) |
| 126 | self.conn.commit() |
| 127 | |
| 128 | if os.path.exists("/.dockerenv"): |
| 129 | logger.info("Using in-memory cache for local development.") |