

def list_records(self, zone):
    "\n        >>> driver = DummyDNSDriver('key', 'secret')\n        >>> zone = driver.create_zone(domain='apache.org', type='master',\n        ...                           ttl=100)\n        >>> list(zone.list_records())\n        []\n        >>> record = driver.create_record(name='libcloud', zone=zone,\n        ...                               type=RecordType.A, data='127.0.0.1')\n        >>> list(zone.list_records()) #doctest: +ELLIPSIS\n        [<Record: zone=apache.org, name=libcloud, type=A...>]\n        "
    return zone._zones[zone.id]['records'].values()

dataset/ETHPy150Open apache/libcloud/libcloud/dns/drivers/dummy.py DummyDNSDriver.list_records/VarMisuse@15/186 `self`->`zone`