0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-13 11:11:49 +02:00

fix: removed BECConnector from rpc client interface

This commit is contained in:
2024-06-08 19:03:38 +02:00
parent fc4f4f81ad
commit 6428e38ab9
2 changed files with 0 additions and 19 deletions

View File

@ -20,24 +20,6 @@ class Widgets(str, enum.Enum):
WebsiteWidget = "WebsiteWidget"
class BECConnector(RPCBase):
@property
@rpc_call
def config_dict(self) -> "dict":
"""
Get the configuration of the widget.
Returns:
dict: The configuration of the widget.
"""
@rpc_call
def get_all_rpc(self) -> "dict":
"""
Get all registered RPC objects.
"""
class BECCurve(RPCBase):
@rpc_call
def remove(self):

View File

@ -198,7 +198,6 @@ def main():
client_path = os.path.join(current_path, "client.py")
rpc_classes = ClientGenerator.get_rpc_classes("bec_widgets")
rpc_classes["connector_classes"].append(BECConnector) # Not sure if this is necessary
rpc_classes["connector_classes"].sort(key=lambda x: x.__name__)
generator = ClientGenerator()