MCPcopy Create free account
hub / github.com/MaaXYZ/MaaFramework / clear_cache

Method clear_cache

source/binding/Python/maa/tasker.py:254–260  ·  view source on GitHub ↗

清理所有可查询的信息 / Clear all queryable information Returns: bool: 是否成功 / Whether successful

(self)

Source from the content-addressed store, hash-verified

252 return self.get_node_detail(int(c_node_id.value))
253
254 def clear_cache(self) -> bool:
255 """清理所有可查询的信息 / Clear all queryable information
256
257 Returns:
258 bool: 是否成功 / Whether successful
259 """
260 return bool(Library.framework().MaaTaskerClearCache(self._handle))
261
262 def override_pipeline(self, task_id: int, pipeline_override: dict[str, Any]) -> bool:
263 """覆盖指定任务的 pipeline / Override pipeline for specified task

Callers

nothing calls this directly

Calls 1

frameworkMethod · 0.80

Tested by

no test coverage detected