diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2022-12-30 18:28:02 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2023-03-24 10:37:42 +0100 |
commit | 4d4aa13e1f1d254e5d57c67973a7809d9c1e21f9 (patch) | |
tree | 1d3399dd2c7bb8475fac92c08681abb5096e9e1e /searx/enginelib/__init__.py | |
parent | 96a2eec3b5e20afda89d9e3a81b09ca1612dc186 (diff) | |
download | searxng-4d4aa13e1f1d254e5d57c67973a7809d9c1e21f9.tar.gz searxng-4d4aa13e1f1d254e5d57c67973a7809d9c1e21f9.zip |
[mod] remove obsolete EngineTraits.supported_languages
All engines has been migrated from ``supported_languages`` to the
``fetch_traits`` concept. There is no longer a need for the obsolete code that
implements the ``supported_languages`` concept.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/enginelib/__init__.py')
-rw-r--r-- | searx/enginelib/__init__.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/searx/enginelib/__init__.py b/searx/enginelib/__init__.py index 845d3a8e9..461791b18 100644 --- a/searx/enginelib/__init__.py +++ b/searx/enginelib/__init__.py @@ -134,10 +134,3 @@ class Engine: # pylint: disable=too-few-public-methods require_api_key: true results: HTML """ - - # deprecated properties - - _fetch_supported_languages: Callable # deprecated use fetch_traits - supported_languages: Union[List[str], Dict[str, str]] # deprecated use traits - language_aliases: Dict[str, str] # deprecated not needed when using triats - supported_languages_url: str # deprecated not needed when using triats |