.oO SearXNG Developer Documentation Oo.
Loading...
Searching...
No Matches
config.py File Reference

Go to the source code of this file.

Classes

class  searx.botdetection.config.FALSE
class  searx.botdetection.config.SchemaIssue
class  searx.botdetection.config.Config

Namespaces

namespace  searx
namespace  searx.botdetection
namespace  searx.botdetection.config

Functions

 searx.botdetection.config.set_global_cfg ("Config" cfg)
"Config" searx.botdetection.config.get_global_cfg ()
 searx.botdetection.config.toml_load (str|pathlib.Path file_name)
 searx.botdetection.config.value (str name, dict[str, typing.Any] data_dict)
tuple[bool, list[SchemaIssue]] searx.botdetection.config.validate (dict[str, typing.Any] schema_dict, dict[str, typing.Any] data_dict, dict[str, str] deprecated)
tuple[bool, list[SchemaIssue]] searx.botdetection.config._validate (list[str] names, list[SchemaIssue] issue_list, dict[str, typing.Any] schema_dict, dict[str, typing.Any] data_dict, dict[str, str] deprecated)
 searx.botdetection.config.dict_deepupdate (dict[str, typing.Any] base_dict, dict[str, typing.Any] upd_dict, list[str]|None names=None)

Variables

list searx.botdetection.config.__all__ = ['Config', 'UNSET', 'SchemaIssue', 'set_global_cfg', 'get_global_cfg']
 searx.botdetection.config.log = logging.getLogger(__name__)
str searx.botdetection.config.CFG = None
 searx.botdetection.config.UNSET = FALSE('<UNSET>')