fix(plugin_utils): plugin utils are able to detect classes for plugin creation based on class attribute rather than if it is top level widget

This commit is contained in:
2024-11-14 14:19:22 +01:00
parent 245ebb444e
commit 7a1b8748a4
6 changed files with 25 additions and 20 deletions
+2 -2
View File
@@ -43,7 +43,7 @@ def test_client_generator_with_black_formatting():
obj=MockBECWaveform1D,
is_connector=True,
is_widget=True,
is_top_level=False,
is_plugin=False,
)
)
container.add_class(
@@ -54,7 +54,7 @@ def test_client_generator_with_black_formatting():
obj=MockBECFigure,
is_connector=True,
is_widget=True,
is_top_level=True,
is_plugin=True,
)
)