summaryrefslogtreecommitdiff
path: root/py_modules/lsfg_vk/config_schema.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/config_schema.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/config_schema.py')
-rw-r--r--py_modules/lsfg_vk/config_schema.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/py_modules/lsfg_vk/config_schema.py b/py_modules/lsfg_vk/config_schema.py
index 4ab2dcb..3a82bbd 100644
--- a/py_modules/lsfg_vk/config_schema.py
+++ b/py_modules/lsfg_vk/config_schema.py
@@ -71,10 +71,6 @@ SCRIPT_ONLY_FIELDS = {
# Complete configuration schema (TOML + script-only fields)
COMPLETE_CONFIG_SCHEMA = {**CONFIG_SCHEMA, **SCRIPT_ONLY_FIELDS}
-
-# Import auto-generated configuration components
-from .config_schema_generated import ConfigurationData, get_script_parsing_logic, get_script_generation_logic
-
# Constants for profile management
DEFAULT_PROFILE_NAME = "decky-lsfg-vk"
GLOBAL_SECTION_FIELDS = {"dll", "no_fp16"}
@@ -447,13 +443,6 @@ class ConfigurationManager:
return cast(ConfigurationData, merged_config)
@staticmethod
- @staticmethod
- def create_config_from_args(**kwargs) -> ConfigurationData:
- """Create configuration from keyword arguments - USES GENERATED CODE"""
- from .config_schema_generated import create_config_dict
- return create_config_dict(**kwargs)
-
- @staticmethod
def normalize_profile_name(profile_name: str) -> str:
"""Normalize profile name by converting spaces to dashes and trimming