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

Method check

scripts/tier2_checkers.py:422–426  ·  view source on GitHub ↗
(self, source_id: str, source: dict)

Source from the content-addressed store, hash-verified

420 self.seed_mode = seed_mode
421
422 def check(self, source_id: str, source: dict) -> Optional[dict]:
423 check_sub = source.get("check_sub", "weekly_alert")
424 if check_sub == "rss":
425 return self._check_rss(source_id, source)
426 return self._check_weekly_alert(source_id, source)
427
428 def _check_weekly_alert(self, source_id: str, source: dict) -> Optional[dict]:
429 url = source["url"]

Callers

nothing calls this directly

Calls 3

_check_rssMethod · 0.95
_check_weekly_alertMethod · 0.95
getMethod · 0.80

Tested by

no test coverage detected