MCPcopy Create free account
hub / github.com/RASAAS/docmcp-knowledge / _save_state

Method _save_state

scripts/fetch_updates.py:2815–2818  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2813 return {}
2814
2815 def _save_state(self):
2816 self.state_file.parent.mkdir(parents=True, exist_ok=True)
2817 with open(self.state_file, "w", encoding="utf-8") as f:
2818 json.dump(self.state, f, indent=2, ensure_ascii=False)
2819
2820 def _web_search_check(self, source_id: str, source: dict) -> Optional[dict]:
2821 """Dispatch web search to Vertex AI (preferred), fallback to Google CSE."""

Callers 1

mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected