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

WIP rpc_widget_handler, removed name kwarg from create_widget

This commit is contained in:
2025-04-08 15:24:02 +02:00
parent 98215f1266
commit ac9ee09a38

View File

@ -38,7 +38,7 @@ class RPCWidgetHandler:
cls.__name__: cls for cls in clss.widgets if cls.__name__ not in IGNORE_WIDGETS
}
def create_widget(self, widget_type, name: str | None = None, **kwargs) -> BECWidget:
def create_widget(self, widget_type, **kwargs) -> BECWidget:
"""
Create a widget from an RPC message.