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

Go to the source code of this file.

Namespaces

namespace  searx
 
namespace  searx.settings_loader
 

Functions

 searx.settings_loader.load_yaml (str|Path file_name)
 
dict searx.settings_loader.get_yaml_cfg (str|Path file_name)
 
Path|None searx.settings_loader.get_user_cfg_folder ()
 
 searx.settings_loader.update_dict (default_dict, user_dict)
 
 searx.settings_loader.update_settings (dict default_settings, dict user_settings)
 
 searx.settings_loader.is_use_default_settings (user_settings)
 
tuple[dict, str] searx.settings_loader.load_settings (load_user_settings=True)
 

Variables

 searx.settings_loader.searx_dir = os.path.abspath(os.path.dirname(__file__))
 
 searx.settings_loader.SETTINGS_YAML = Path("settings.yml")
 
 searx.settings_loader.DEFAULT_SETTINGS_FILE = Path(searx_dir) / SETTINGS_YAML