diff options
Diffstat (limited to 'searx/engines/wolframalpha_noapi.py')
| -rw-r--r-- | searx/engines/wolframalpha_noapi.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/engines/wolframalpha_noapi.py b/searx/engines/wolframalpha_noapi.py index c001b5c06..3eb348cd4 100644 --- a/searx/engines/wolframalpha_noapi.py +++ b/searx/engines/wolframalpha_noapi.py @@ -3,7 +3,7 @@ Wolfram|Alpha (Science) """ - +import typing as t from json import loads from urllib.parse import urlencode @@ -51,7 +51,7 @@ CACHE: EngineCache seconds.""" -def init(engine_settings): +def setup(engine_settings: dict[str, t.Any]) -> bool | None: global CACHE # pylint: disable=global-statement CACHE = EngineCache(engine_settings["name"]) # type:ignore |
