MCPcopy Create free account
hub / github.com/TheSmallHanCat/flow2api / set_cache_enabled

Method set_cache_enabled

src/core/config.py:373–377  ·  view source on GitHub ↗

Set cache enabled status

(self, enabled: bool)

Source from the content-addressed store, hash-verified

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:

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected