コード例 #1
0
ファイル: client.py プロジェクト: rhdxmr/aiozk
    async def get_acl(self, path):
        """
        Get list of ACLs associated with the znode

        :param str path: Path of znode

        :return: List of ACLs associated with the znode
        :rtype: [aiozk.ACL]
        """
        path = self.normalize_path(path)

        response = await self.send(protocol.GetACLRequest(path=path))
        return response.acl
コード例 #2
0
ファイル: client.py プロジェクト: hire-us/aiozk-backup
    async def get_acl(self, path):
        path = self.normalize_path(path)

        response = await self.send(protocol.GetACLRequest(path=path))
        return response.acl