From 21d0428cf2dd5c1e3f8ae1702494bbaedf90c2fc Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Fri, 10 Oct 2025 16:14:29 +0200 Subject: [mod] brand - partial migration of settings to msgspec.Struct (#5280) The settings are currently an untyped key/value structure, whose types are dynamically built at runtime. The construction process of this structure is *hand-crafted*. In the long term, we want a static typing of this structure, based on a standard tool. The ``msgspec.Struct`` structures are suitable as a standard tool. This patch makes a first step towards static typing and implements the "brand" section using ``msgspec.Struct`` structures. BTW: searx/settings_defaults.py - ``git_url`` and ``git_branch`` had been removed in aee613d256, this is a leftover. Signed-off-by: Markus Heiser --- tests/robot/settings_robot.yml | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/robot') diff --git a/tests/robot/settings_robot.yml b/tests/robot/settings_robot.yml index cfc64c45c..de5087e06 100644 --- a/tests/robot/settings_robot.yml +++ b/tests/robot/settings_robot.yml @@ -3,8 +3,6 @@ general: instance_name: "searx_test" brand: - git_url: https://github.com/searxng/searxng - git_branch: master issue_url: https://github.com/searxng/searxng/issues new_issue_url: https://github.com/searxng/searxng/issues/new docs_url: https://docs.searxng.org -- cgit v1.2.3