def list_records(self, zone):
        action = '/app/dns/dyndns.jsp?'
        params = {'action': 'QUERY', 'name': '**.' + zone.id}
        try:
            response = self.connection.request(action=action, params=params)
        except ZonomiException:
            e = sys.exc_info()[1]
            if e.code == '404':
                raise ZoneDoesNotExistError(zone_id=zone.id, driver=self,
                                            value=e.message)
            raise e

        records = self._to_records(response.objects, zone)

        return records
Callback used by get_deferred_field_names().
dataset/ETHPy150Open apache/libcloud/libcloud/dns/drivers/zonomi.py/ZonomiDNSDriver.list_records--crossover with--dataset/ETHPy150Open CollabQ/CollabQ/vendor/django/db/models/sql/query.py/BaseQuery.get_loaded_field_names_cb