SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
[typing] add optional attrs to Plugin
Martin Fischer6d43cf7952cb
diff --git a/searx/plugins/__init__.py b/searx/plugins/__init__.pyindex 6c1bea8d0..3d431f329 100644--- a/searx/plugins/__init__.py+++ b/searx/plugins/__init__.py@@ -10,7 +10,7 @@ from os.path import abspath, basename, dirname, exists, joinfrom shutil import copyfilefrom pkgutil import iter_modulesfrom logging import getLogger-from typing import List+from typing import List, Tuplefrom searx import logger, settings@@ -22,6 +22,9 @@ class Plugin: # pylint: disable=too-few-public-methodsname: strdescription: strdefault_on: bool+ js_dependencies: Tuple[str]+ css_dependencies: Tuple[str]+ preference_section: strlogger = logger.getChild("plugins")