1
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2026-03-11 11:17:49 +01:00

fix(admin-view): generate RPC interface for AdminView

This commit is contained in:
2026-03-05 16:10:38 +01:00
parent c5ed8d21af
commit 1b2dfd6618

View File

@@ -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