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

Method __init__

scripts/fetch_updates.py:461–472  ·  view source on GitHub ↗
(self, root: Path = ROOT)

Source from the content-addressed store, hash-verified

459 """Loads all _index.json files and version_registry.json to classify detections."""
460
461 def __init__(self, root: Path = ROOT):
462 self.root = root
463 self.mdcg_ids: set[str] = set()
464 self.mdcg_titles: set[str] = set()
465 self.standards_latest_amendment: str = ""
466 self.eu_reg_ids: set[str] = set()
467 self.nmpa_reg_titles: set[str] = set()
468 self.nmpa_guidance_titles: set[str] = set()
469 self.fda_guidance_titles: set[str] = set()
470 self.fda_guidance_ids: set[str] = set()
471 self.db_stats: dict[str, dict] = {}
472 self._load_all()
473
474 def _load_json(self, path: Path) -> dict:
475 if not path.exists():

Callers

nothing calls this directly

Calls 1

_load_allMethod · 0.95

Tested by

no test coverage detected