0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-14 03:31:50 +02:00

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-13 13:44:40 +01:00
parent 245ebb444e
commit 7a1b8748a4
6 changed files with 25 additions and 20 deletions

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,
)
)