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

Function _make_update

scripts/tier2_checkers.py:22–31  ·  view source on GitHub ↗
(source_id: str, source: dict, method: str, note: str)

Source from the content-addressed store, hash-verified

20
21
22def _make_update(source_id: str, source: dict, method: str, note: str) -> dict:
23 return {
24 "source_id": source_id,
25 "name": source.get("name", source_id),
26 "url": source.get("url", ""),
27 "category": source.get("category", ""),
28 "method": method,
29 "note": note,
30 "timestamp": datetime.now().isoformat(),
31 }
32
33
34# ---------------------------------------------------------------------------

Callers 11

checkMethod · 0.70
checkMethod · 0.70
checkMethod · 0.70
_check_weekly_alertMethod · 0.70
_check_rssMethod · 0.70
checkMethod · 0.70
checkMethod · 0.70
checkMethod · 0.70
checkMethod · 0.70
checkMethod · 0.70
checkMethod · 0.70

Calls 1

getMethod · 0.80

Tested by

no test coverage detected