From 9eb480f4c7707b0e2ab91f17cbbcb772dc0ad46f Mon Sep 17 00:00:00 2001 From: wyzula-jan Date: Thu, 15 Oct 2026 18:00:18 +0000 Subject: [PATCH] refactor(plugin_utils): remove unused designer_plugin_exists --- bec_widgets/utils/plugin_utils.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/bec_widgets/utils/plugin_utils.py b/bec_widgets/utils/plugin_utils.py index 0e4e082f..3424a3fa 100644 --- a/bec_widgets/utils/plugin_utils.py +++ b/bec_widgets/utils/plugin_utils.py @@ -216,14 +216,6 @@ def _resolve_widget_from_registry(import_path: str, widget_name: str) -> type[QW return getattr(widget, widget_name) -def designer_plugin_exists(name: str) -> bool: - from bec_widgets.utils.bec_plugin_helper import get_plugin_designer_registry - - internal_registry = _get_designer_registry() - external_registry = get_plugin_designer_registry() - return name in internal_registry or name in external_registry - - def get_designer_plugin(name: str, raise_on_missing: bool = True) -> type[QWidget] | None: from bec_widgets.utils.bec_plugin_helper import get_plugin_designer_registry