(self, project_id: str, app_id: str, api_key: str, state: dict,
seed_mode: bool = False)
| 804 | ) |
| 805 | |
| 806 | def __init__(self, project_id: str, app_id: str, api_key: str, state: dict, |
| 807 | seed_mode: bool = False): |
| 808 | self.project_id = project_id |
| 809 | self.app_id = app_id |
| 810 | self.api_key = api_key |
| 811 | self.state = state |
| 812 | self.seed_mode = seed_mode |
| 813 | self.available = bool(project_id and app_id and api_key) |
| 814 | |
| 815 | def search(self, query: str, num: int = 10) -> list: |
| 816 | if not self.available: |
nothing calls this directly
no outgoing calls
no test coverage detected