mirror of
https://github.com/searxng/searxng.git
synced 2026-07-24 08:51:24 +00:00
[fix] rerank plugin: adapt to #4183
This commit is contained in:
@@ -68,6 +68,9 @@ class PluginInfo:
|
||||
keywords: list[str] = field(default_factory=list)
|
||||
"""See :py:obj:`Plugin.keywords`"""
|
||||
|
||||
is_allowed: bool = True
|
||||
"""Switch to disable plugin completely, without the user preference."""
|
||||
|
||||
|
||||
class Plugin(abc.ABC):
|
||||
"""Abstract base class of all Plugins."""
|
||||
|
||||
Reference in New Issue
Block a user