Exemple #1
0
 async def contacts_update(self, contacts_path: str) -> None:
     async with self.get_stub() as stub:
         data = await create_tar([contacts_path])
         await stub.contacts_update(
             ContactsUpdateRequest(payload=Payload(data=data))
         )
Exemple #2
0
async def client(client: CompanionClient, contacts_path: str) -> None:
    data = await create_tar([contacts_path])
    await client.stub.contacts_update(ContactsUpdateRequest(payload=Payload(data=data)))