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

Method cache_path

src/deepscientist/admin/tasks.py:202–204  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

200 return self.tasks_root / f"{task_id}.result.json"
201
202 def cache_path(self, name: str) -> Path:
203 normalized = str(name or "").strip() or "cache"
204 return self.cache_root / normalized
205
206 def list_tasks(self, *, kind: str | None = None, limit: int = 50) -> list[dict[str, Any]]:
207 normalized_kind = str(kind or "").strip().lower() or None

Callers 2

cached_resultMethod · 0.95
_write_cacheMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected