From c298ec4c2e264e88fefdf79d0f0d201092ddf94e Mon Sep 17 00:00:00 2001 From: Florian Agbuya Date: Fri, 2 Jun 2023 18:14:57 +0800 Subject: [PATCH] applets: add update_dataset for dataset mods --- artiq/gui/applets.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/artiq/gui/applets.py b/artiq/gui/applets.py index f753b56b1..4b4bccce3 100644 --- a/artiq/gui/applets.py +++ b/artiq/gui/applets.py @@ -81,6 +81,8 @@ class AppletIPCServer(AsyncioParentComm): self.write_pyon({"action": "mod", "mod": mod}) elif action == "set_dataset": await self.dataset_ctl.set(obj["key"], obj["value"], obj["persist"]) + elif action == "update_dataset": + await self.dataset_ctl.update(obj["mod"]) else: raise ValueError("unknown action in applet message") except: