MCPcopy Create free account
hub / github.com/ResearAI/DeepScientist / _write_cache

Method _write_cache

src/deepscientist/admin/tasks.py:251–253  ·  view source on GitHub ↗
(self, name: str, payload: dict[str, Any])

Source from the content-addressed store, hash-verified

249 return payload if isinstance(payload, dict) else None
250
251 def _write_cache(self, name: str, payload: dict[str, Any]) -> dict[str, Any]:
252 write_json(self.cache_path(name), payload)
253 return payload
254
255 def _base_task_payload(
256 self,

Callers 1

_runMethod · 0.95

Calls 2

cache_pathMethod · 0.95
write_jsonFunction · 0.50

Tested by

no test coverage detected