.oO SearXNG Developer Documentation Oo.
|
Public Member Functions | |
typing.Any | check_type_definition (self, typing.Any value) |
typing.Any | __call__ (self, typing.Any value) |
Public Member Functions inherited from 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) | |
type_definition_repr (self) | |
Additional Inherited Members | |
Public Attributes inherited from searx.settings_defaults.SettingsValue | |
tuple | type_definition |
default = default | |
environ_name = environ_name | |
type_definition_repr | |
Check and update a setting value that is a directory path
Definition at line 96 of file settings_defaults.py.
typing.Any searx.settings_defaults.SettingsDirectoryValue.__call__ | ( | self, | |
typing.Any | value ) |
Reimplemented from searx.settings_defaults.SettingsValue.
Definition at line 104 of file settings_defaults.py.
References searx.settings_defaults.SettingsDirectoryValue.__call__(), searx.botdetection.config.Config.default(), searx.enginelib.traits.EngineTraitsEncoder.default(), searx.settings_defaults.SettingsValue.default, and searx.webutils.JSONEncoder.default().
Referenced by searx.settings_defaults.SettingsDirectoryValue.__call__().
typing.Any searx.settings_defaults.SettingsDirectoryValue.check_type_definition | ( | self, | |
typing.Any | value ) |
Reimplemented from searx.settings_defaults.SettingsValue.
Definition at line 99 of file settings_defaults.py.
References searx.settings_defaults.SettingsDirectoryValue.check_type_definition().
Referenced by searx.settings_defaults.SettingsValue.__call__(), and searx.settings_defaults.SettingsDirectoryValue.check_type_definition().