mirror of https://github.com/m-labs/artiq.git
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.dataset_sub.model.backing_store)
|
||||||
self.write_pyon({"action": "mod", "mod": mod})
|
self.write_pyon({"action": "mod", "mod": mod})
|
||||||
elif action == "set_dataset":
|
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":
|
elif action == "update_dataset":
|
||||||
await self.dataset_ctl.update(obj["mod"])
|
await self.dataset_ctl.update(obj["mod"])
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue