mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-29 21:23:34 +08:00
applets: add metadata param to set_dataset
This commit is contained in:
parent
af7622d7ab
commit
16a3ce274f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user