diff options
| author | Om Alve <om@turboml.com> | 2026-08-23 18:26:13 +0530 |
|---|---|---|
| committer | Bnyro <bnyro@tutanota.com> | 2026-09-02 16:30:00 +0200 |
| commit | b4f616fed70b0598a1817fb828c0cce29d0451be (patch) | |
| tree | b0133d0ea0d822b1e907983eb5ac8102ab51ff79 /searx/engines/exaapi.py | |
| parent | fd29de6c55e81524172744d9f36917c271dd01b9 (diff) | |
[mod] engines: migrate to setup() from init() for simple tasks
Diffstat (limited to 'searx/engines/exaapi.py')
| -rw-r--r-- | searx/engines/exaapi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/exaapi.py b/searx/engines/exaapi.py index 7cd7ad0c1..19c079942 100644 --- a/searx/engines/exaapi.py +++ b/searx/engines/exaapi.py @@ -78,7 +78,7 @@ content_max_characters: int = 500 """Maximum characters for the requested content.""" -def init(_): +def setup(_: dict[str, t.Any]) -> bool | None: if not api_key: raise SearxEngineAPIException("No API key provided") if not 1 <= results_per_page <= 100: |
