f
This commit is contained in:
@@ -14,6 +14,18 @@ SCRIPT_DIR = Path(__file__).resolve().parent
|
||||
_CONFIG_CACHE: Dict[str, Dict[str, Any]] = {}
|
||||
|
||||
|
||||
def global_config() -> List[Dict[str, Any]]:
|
||||
"""Return configuration schema for global settings."""
|
||||
return [
|
||||
{
|
||||
"key": "debug",
|
||||
"label": "Debug Output",
|
||||
"default": "false",
|
||||
"choices": ["true", "false"]
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
def clear_config_cache() -> None:
|
||||
"""Clear the configuration cache."""
|
||||
_CONFIG_CACHE.clear()
|
||||
|
||||
Reference in New Issue
Block a user