From 942be435e3e0b6f6c71e59603a9dc6d80cbdcfe8 Mon Sep 17 00:00:00 2001 From: ValueOn AG Date: Mon, 8 Dec 2025 10:11:49 +0100 Subject: [PATCH] fixes --- modules/shared/attributeUtils.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/shared/attributeUtils.py b/modules/shared/attributeUtils.py index 74aeee10..7a50946e 100644 --- a/modules/shared/attributeUtils.py +++ b/modules/shared/attributeUtils.py @@ -212,7 +212,7 @@ def getModelAttributeDefinitions(modelClass: Type[BaseModel] = None, userLanguag description = str(field_info.description) except Exception: pass - + attributes.append( { "name": name, @@ -275,11 +275,9 @@ def getModelClasses() -> Dict[str, Type[BaseModel]]: if fileName.startswith("datamodel") and fileName.endswith(".py"): # Convert fileName to module name (e.g., datamodelUtils.py -> datamodelUtils) module_name = fileName[:-3] - try: # Import the module dynamically module = importlib.import_module(f"modules.datamodels.{module_name}") - # Get all classes from the module for name, obj in inspect.getmembers(module): if (