def list_records(self, zone):
        """
        Return a list of records for the provided zone.

        :param zone: Zone to list records for.
        :type zone: :class:`Zone`

        :return: ``list`` of :class:`Record`
        """
        response = self.connection.request('/v1/domains/%s/records' % zone.id)
        records = self._to_records(response.object, zone)
        return records
dataset/ETHPy150Open apache/libcloud/libcloud/dns/drivers/dnsimple.py/DNSimpleDNSDriver.list_records/original