applets: add metadata param to set_dataset

This commit is contained in:
Simon Renblad 2023-07-12 10:32:14 +08:00 committed by Sébastien Bourdeauducq
parent af7622d7ab
commit 16a3ce274f
1 changed files with 1 additions and 1 deletions

View File

@ -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: