Set cache timeout in seconds
(self, timeout: int)
| 382 | return self._config.get("cache", {}).get("timeout", 7200) |
| 383 | |
| 384 | def set_cache_timeout(self, timeout: int): |
| 385 | """Set cache timeout in seconds""" |
| 386 | if "cache" not in self._config: |
| 387 | self._config["cache"] = {} |
| 388 | self._config["cache"]["timeout"] = timeout |
| 389 | |
| 390 | @property |
| 391 | def cache_base_url(self) -> str: |
no outgoing calls
no test coverage detected