From 137e572a942281a9c7478a6be83f815848917e26 Mon Sep 17 00:00:00 2001 From: appel_c Date: Thu, 5 Mar 2026 16:10:38 +0100 Subject: [PATCH] fix(admin-view): generate RPC interface for AdminView --- bec_widgets/cli/client.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/bec_widgets/cli/client.py b/bec_widgets/cli/client.py index d3c12199..b5fa38ae 100644 --- a/bec_widgets/cli/client.py +++ b/bec_widgets/cli/client.py @@ -89,6 +89,16 @@ except ImportError as e: logger.error(f"Failed loading plugins: \n{reduce(add, traceback.format_exception(e))}") +class AdminView(RPCBase): + """A view for administrators to change the current active experiment, manage messaging""" + + @rpc_call + def activate(self) -> "None": + """ + Switch the parent application to this view. + """ + + class AutoUpdates(RPCBase): @property @rpc_call