Set cache enabled status
(self, enabled: bool)
| 371 | return self._config.get("cache", {}).get("enabled", False) |
| 372 | |
| 373 | def set_cache_enabled(self, enabled: bool): |
| 374 | """Set cache enabled status""" |
| 375 | if "cache" not in self._config: |
| 376 | self._config["cache"] = {} |
| 377 | self._config["cache"]["enabled"] = enabled |
| 378 | |
| 379 | @property |
| 380 | def cache_timeout(self) -> int: |
no outgoing calls
no test coverage detected