From 4d4aa13e1f1d254e5d57c67973a7809d9c1e21f9 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Fri, 30 Dec 2022 18:28:02 +0100 Subject: [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 --- searx/enginelib/__init__.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'searx/enginelib/__init__.py') 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 -- cgit v1.2.3-54-g00ecf