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

Method __init__

scripts/fetch_updates.py:716–722  ·  view source on GitHub ↗
(self, api_key: str, engine_id: str, state: dict,
                 seed_mode: bool = False)

Source from the content-addressed store, hash-verified

714 BASE_URL = "https://www.googleapis.com/customsearch/v1"
715
716 def __init__(self, api_key: str, engine_id: str, state: dict,
717 seed_mode: bool = False):
718 self.api_key = api_key
719 self.engine_id = engine_id
720 self.state = state
721 self.seed_mode = seed_mode
722 self.available = bool(api_key and engine_id)
723
724 def search(self, query: str, num: int = 10,
725 date_restrict: str = "") -> list:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected