.oO SearXNG Developer Documentation Oo.
|
Public Member Functions | |
__init__ (self, typing.Union[None, typing.Any, typing.Tuple[typing.Any]] type_definition=None, typing.Any default=None, str environ_name=None) | |
type_definition_repr (self) | |
None | check_type_definition (self, typing.Any value) |
typing.Any | __call__ (self, typing.Any value) |
Public Attributes | |
tuple | type_definition |
default = default | |
environ_name = environ_name | |
type_definition_repr | |
Check and update a setting value
Definition at line 45 of file settings_defaults.py.
searx.settings_defaults.SettingsValue.__init__ | ( | self, | |
typing.Union[None, typing.Any, typing.Tuple[typing.Any]] | type_definition = None, | ||
typing.Any | default = None, | ||
str | environ_name = None ) |
Definition at line 48 of file settings_defaults.py.
typing.Any searx.settings_defaults.SettingsValue.__call__ | ( | self, | |
typing.Any | value ) |
Reimplemented in searx.settings_defaults.SettingsBytesValue, and searx.settings_defaults.SettingsDirectoryValue.
Definition at line 72 of file settings_defaults.py.
References searx.settings_defaults.SettingsDirectoryValue.check_type_definition(), searx.settings_defaults.SettingSublistValue.check_type_definition(), searx.settings_defaults.SettingsValue.check_type_definition(), searx.botdetection.config.Config.default(), searx.enginelib.traits.EngineTraitsEncoder.default(), searx.settings_defaults.SettingsValue.default, searx.webutils.JSONEncoder.default(), searx.settings_defaults.SettingsValue.environ_name, searx.settings_defaults.SettingSublistValue.type_definition, and searx.settings_defaults.SettingsValue.type_definition.
None searx.settings_defaults.SettingsValue.check_type_definition | ( | self, | |
typing.Any | value ) |
Reimplemented in searx.settings_defaults.SettingsDirectoryValue, and searx.settings_defaults.SettingSublistValue.
Definition at line 65 of file settings_defaults.py.
References searx.settings_defaults.SettingSublistValue.type_definition, and searx.settings_defaults.SettingsValue.type_definition.
Referenced by searx.settings_defaults.SettingsValue.__call__().
searx.settings_defaults.SettingsValue.type_definition_repr | ( | self | ) |
Definition at line 61 of file settings_defaults.py.
References searx.settings_defaults.SettingSublistValue.type_definition, and searx.settings_defaults.SettingsValue.type_definition.
searx.settings_defaults.SettingsValue.default = default |
Definition at line 57 of file settings_defaults.py.
Referenced by searx.settings_defaults.SettingsDirectoryValue.__call__(), and searx.settings_defaults.SettingsValue.__call__().
searx.settings_defaults.SettingsValue.environ_name = environ_name |
Definition at line 58 of file settings_defaults.py.
Referenced by searx.settings_defaults.SettingsValue.__call__().
tuple searx.settings_defaults.SettingsValue.type_definition |
Definition at line 54 of file settings_defaults.py.
Referenced by searx.settings_defaults.SettingsValue.__call__(), searx.settings_defaults.SettingSublistValue.check_type_definition(), searx.settings_defaults.SettingsValue.check_type_definition(), and searx.settings_defaults.SettingsValue.type_definition_repr().
searx.settings_defaults.SettingsValue.type_definition_repr |
Definition at line 70 of file settings_defaults.py.