comparison libervia/server/restricted_bridge.py @ 1391:fc20818a5266

server (restricted_bridge): add `listSet` method
author Goffi <goffi@goffi.org>
date Sat, 27 Feb 2021 21:00:48 +0100
parents 4c51f22a813a
children 822bd0139769
comparison
equal deleted inserted replaced
1390:3e482795630c 1391:fc20818a5266
55 "psNodeAffiliationsSet", service_s, node, affiliations, profile) 55 "psNodeAffiliationsSet", service_s, node, affiliations, profile)
56 56
57 async def psItemRetract(self, service_s, node, item_id, notify, profile): 57 async def psItemRetract(self, service_s, node, item_id, notify, profile):
58 return await self.host.bridgeCall( 58 return await self.host.bridgeCall(
59 "psItemRetract", service_s, node, item_id, notify, profile) 59 "psItemRetract", service_s, node, item_id, notify, profile)
60
61 async def listSet(self, service_s, node, values, schema, item_id, extra, profile):
62 return await self.host.bridgeCall(
63 "listSet", service_s, node, values, "", item_id, "", profile)
64
60 65
61 async def fileHTTPUploadGetSlot( 66 async def fileHTTPUploadGetSlot(
62 self, filename, size, content_type, upload_jid, profile): 67 self, filename, size, content_type, upload_jid, profile):
63 return await self.host.bridgeCall( 68 return await self.host.bridgeCall(
64 "fileHTTPUploadGetSlot", filename, size, content_type, 69 "fileHTTPUploadGetSlot", filename, size, content_type,