(self)
| 447 | super().__init__(**kwargs) |
| 448 | |
| 449 | def close(self): |
| 450 | # close diskcache (db conn) on session close |
| 451 | if hasattr(self, '_store') and hasattr(self._store, 'close'): |
| 452 | self._store.close() |
| 453 | |
| 454 | super().close() |
| 455 | |
| 456 | def configure_cache(self, cache: ExtendedCacheConfig, **store_params) -> None: |
| 457 | config = {opt: cache.get(opt, default) |