.oO SearXNG Developer Documentation Oo.
|
Public Member Functions | |
__init__ (self, default_value, Iterable[Engine] engines) | |
transform_form_items (self, items) | |
transform_values (self, values) | |
Public Member Functions inherited from searx.preferences.BooleanChoices | |
parse_cookie (self, str data_disabled, str data_enabled) | |
parse_form (self, List[str] items) | |
enabled (self) | |
disabled (self) | |
save (self, flask.Response resp) | |
get_disabled (self) | |
get_enabled (self) | |
Additional Inherited Members | |
Public Attributes inherited from searx.preferences.BooleanChoices | |
name = name | |
choices = choices | |
locked = locked | |
default_choices = dict(choices) | |
bool | choices = False |
disabled | |
enabled | |
Engine settings
Definition at line 287 of file preferences.py.
searx.preferences.EnginesSetting.__init__ | ( | self, | |
default_value, | |||
Iterable[Engine] | engines ) |
Reimplemented from searx.preferences.BooleanChoices.
Definition at line 290 of file preferences.py.
References searx.preferences.EnginesSetting.__init__(), and searx.format.
Referenced by searx.preferences.EnginesSetting.__init__().
searx.preferences.EnginesSetting.transform_form_items | ( | self, | |
items ) |
Reimplemented from searx.preferences.BooleanChoices.
Definition at line 299 of file preferences.py.
Referenced by searx.preferences.BooleanChoices.parse_form().
searx.preferences.EnginesSetting.transform_values | ( | self, | |
values ) |
Reimplemented from searx.preferences.BooleanChoices.
Definition at line 302 of file preferences.py.