.oO SearXNG Developer Documentation Oo.
|
Public Member Functions | |
typing.Any | check_type_definition (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) | |
typing.Any | __call__ (self, typing.Any value) |
Public Attributes | |
type_definition | |
Public Attributes inherited from searx.settings_defaults.SettingsValue | |
tuple | type_definition |
default = default | |
environ_name = environ_name | |
type_definition_repr | |
Check the value is a sublist of type definition.
Definition at line 85 of file settings_defaults.py.
typing.Any searx.settings_defaults.SettingSublistValue.check_type_definition | ( | self, | |
typing.Any | value ) |
Reimplemented from searx.settings_defaults.SettingsValue.
Definition at line 88 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.SettingSublistValue.type_definition |
Definition at line 93 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().