From 4112393b17d25e54f1b8822734210b045da97613 Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Mon, 21 Jul 2025 23:15:29 -0400 Subject: dry up with py generators for ts backends --- py_modules/lsfg_vk/config_schema.py | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'py_modules') diff --git a/py_modules/lsfg_vk/config_schema.py b/py_modules/lsfg_vk/config_schema.py index 39593ab..c82d1d3 100644 --- a/py_modules/lsfg_vk/config_schema.py +++ b/py_modules/lsfg_vk/config_schema.py @@ -20,19 +20,6 @@ sys.path.insert(0, str(Path(__file__).parent.parent.parent)) from shared_config import CONFIG_SCHEMA_DEF, ConfigFieldType, get_field_names, get_defaults, get_field_types -@dataclass -class ConfigField: - """Configuration field definition""" - name: str - field_type: ConfigFieldType - default: Union[bool, int, float, str] - description: str - - def get_toml_value(self, value: Union[bool, int, float, str]) -> Union[bool, int, float, str]: - """Get the value for TOML output""" - return value - - @dataclass class ConfigField: """Configuration field definition""" -- cgit v1.2.3