diff --git a/lib/dl_core/dl_core/connection_executors/qe_serializer/schema_actions.py b/lib/dl_core/dl_core/connection_executors/qe_serializer/schema_actions.py index 1c27b0787..5c84810a4 100644 --- a/lib/dl_core/dl_core/connection_executors/qe_serializer/schema_actions.py +++ b/lib/dl_core/dl_core/connection_executors/qe_serializer/schema_actions.py @@ -40,7 +40,7 @@ def dump_dba_cls(self, act: dba_actions.ActionExecuteQuery) -> str: return f"{act.dba_cls.__module__}.{act.dba_cls.__qualname__}" def load_dba_cls(self, value: str) -> Union[Type[CommonBaseDirectAdapter]]: - mod_name, cls_name = value.rsplit(".", 1) + mod_name, cls_name = value.rsplit(".", 1) if "." in value else (None, value) candidate = next( filter( lambda clz: clz.__module__ == mod_name and clz.__qualname__ == cls_name or clz.__qualname__ == value,