From 16a3ce274f5ae5e9509c78388ab5c23873aa8548 Mon Sep 17 00:00:00 2001 From: Simon Renblad Date: Wed, 12 Jul 2023 10:32:14 +0800 Subject: [PATCH] applets: add metadata param to set_dataset --- artiq/gui/applets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/gui/applets.py b/artiq/gui/applets.py index 4b4bccce3..a9e22b420 100644 --- a/artiq/gui/applets.py +++ b/artiq/gui/applets.py @@ -80,7 +80,7 @@ class AppletIPCServer(AsyncioParentComm): self.dataset_sub.model.backing_store) self.write_pyon({"action": "mod", "mod": mod}) elif action == "set_dataset": - await self.dataset_ctl.set(obj["key"], obj["value"], obj["persist"]) + await self.dataset_ctl.set(obj["key"], obj["value"], metadata=obj["metadata"], persist=obj["persist"]) elif action == "update_dataset": await self.dataset_ctl.update(obj["mod"]) else: