config_routes
config_routes
¶
Config get/set HTTP API (writes ~/.diapason/config.toml).
Functions:¶
set_config_value
¶
Validate, coerce, write TOML, clear load_config cache. Returns typed value.
Source code in src/diapason/server/config_routes.py
get_config_snippet
¶
Return settings useful for the desktop Settings UI.