mirror of https://github.com/m-labs/artiq.git
applets: add update_dataset for dataset mods
This commit is contained in:
parent
69bf2dfb81
commit
c298ec4c2e
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue