summaryrefslogtreecommitdiff
path: root/py_modules/lsfg_vk/configuration_helpers_generated.py
diff options
context:
space:
mode:
authorChristopher Lott <chris@MacBook-Air-von-Christopher.fritz.box>2026-05-07 22:44:59 +0200
committerChristopher Lott <chris@MacBook-Air-von-Christopher.fritz.box>2026-05-07 22:44:59 +0200
commit0a9ed38d9e5e3f67efc0ecdc0d549d67ccb86fb8 (patch)
tree02ae7ff4b1a8d8db528e55bd00d58b044e29aa57 /py_modules/lsfg_vk/configuration_helpers_generated.py
parent97a70cd68813f2174fe145ee79784e509d11a742 (diff)
downloaddecky-lsfg-vk-0a9ed38d9e5e3f67efc0ecdc0d549d67ccb86fb8.tar.gz
decky-lsfg-vk-0a9ed38d9e5e3f67efc0ecdc0d549d67ccb86fb8.zip
remove dead code across frontend and backend
- Remove TS ConfigurationManager class in configSchema.ts (called non-existent backend methods; only getDefaults() was used, replaced with direct import) - Remove Python update_config method and create_config_from_args (unreachable since plugin.py routes through update_config_from_dict; also carried a duplicate @staticmethod that would crash at runtime) - Delete configuration_helpers_generated.py entirely (all three functions were unused) - Remove their generators from generate_python_boilerplate.py - Remove dead generated code from config_schema_generated.py (create_config_dict, get_function_parameters, TOML_FIELDS, SCRIPT_FIELDS) - Remove duplicate import in config_schema.py - Remove unused config prop from UsageInstructions component
Diffstat (limited to 'py_modules/lsfg_vk/configuration_helpers_generated.py')
-rw-r--r--py_modules/lsfg_vk/configuration_helpers_generated.py22
1 files changed, 0 insertions, 22 deletions
diff --git a/py_modules/lsfg_vk/configuration_helpers_generated.py b/py_modules/lsfg_vk/configuration_helpers_generated.py
deleted file mode 100644
index 1383174..0000000
--- a/py_modules/lsfg_vk/configuration_helpers_generated.py
+++ /dev/null
@@ -1,22 +0,0 @@
-"""
-Auto-generated configuration helper functions from shared_config.py
-DO NOT EDIT THIS FILE MANUALLY - it will be overwritten on build
-"""
-
-from typing import Dict, Any
-from .config_schema_generated import ConfigurationData, ALL_FIELDS
-
-
-def log_configuration_update(logger, config: ConfigurationData) -> None:
- """Log configuration update with all field values"""
- logger.info(f"Updated lsfg TOML configuration: dll={config['dll']}, no_fp16={config['no_fp16']}, multiplier={config['multiplier']}, flow_scale={config['flow_scale']}, performance_mode={config['performance_mode']}, hdr_mode={config['hdr_mode']}, experimental_present_mode={config['experimental_present_mode']}, dxvk_frame_rate={config['dxvk_frame_rate']}, enable_wow64={config['enable_wow64']}, disable_steamdeck_mode={config['disable_steamdeck_mode']}, mangohud_workaround={config['mangohud_workaround']}, disable_vkbasalt={config['disable_vkbasalt']}, force_enable_vkbasalt={config['force_enable_vkbasalt']}, enable_wsi={config['enable_wsi']}, enable_zink={config['enable_zink']}")
-
-
-def get_config_field_names() -> list[str]:
- """Get all configuration field names"""
- return ALL_FIELDS.copy()
-
-
-def extract_config_values(config: ConfigurationData) -> Dict[str, Any]:
- """Extract configuration values as a dictionary"""
- return {field: config[field] for field in ALL_FIELDS}