From 875d79eb0d61f11eeeee63622b37b3f3f7b576bf 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 622f8cb5..3080c1ed 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