fix(docks): docks widget_list adn dockarea panels return values fixed

This commit is contained in:
2024-06-06 16:01:27 +02:00
parent 10d77f20d1
commit ffae5ee54e
3 changed files with 7 additions and 8 deletions
+3 -4
View File
@@ -1,9 +1,8 @@
# This file was automatically generated by generate_cli.py
from bec_widgets.cli.client_utils import rpc_call, RPCBase, BECGuiClientMixin
from typing import Literal, Optional, overload
from bec_widgets.cli.client_utils import BECGuiClientMixin, RPCBase, rpc_call
class BECPlotBase(RPCBase):
@property
@@ -1429,7 +1428,7 @@ class BECDock(RPCBase):
@property
@rpc_call
def widget_list(self) -> "list":
def widget_list(self) -> "list[BECConnector]":
"""
Get the widgets in the dock.
@@ -1550,7 +1549,7 @@ class BECDockArea(RPCBase, BECGuiClientMixin):
@property
@rpc_call
def panels(self) -> "dict":
def panels(self) -> "dict[str, BECDock]":
"""
Get the docks in the dock area.
Returns: