From 51b2b71374d6bd18b39890f88d2797c959dbcf0f Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 15 Apr 2020 17:20:16 +0200 Subject: [PATCH] fix example formatting --- docs/content/setup/_index.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/content/setup/_index.md b/docs/content/setup/_index.md index dbf64fb..a31054e 100644 --- a/docs/content/setup/_index.md +++ b/docs/content/setup/_index.md @@ -35,7 +35,13 @@ try: records = dns.records(zone="example.com") print(records) - # [{'name': '@', 'ttl': '1800', 'type': 'SOA', 'data': 'ns1.core-networks.de. [...]'}, {'name': 'test', 'ttl': '60', 'type': 'A', 'data': '1.2.3.4'}, {'name': '@', 'ttl': '86400', 'type': 'NS', 'data': 'ns1.core-networks.de.'}, {'name': '@', 'ttl': '86400', 'type': 'NS', 'data': 'ns2.core-networks.eu.'}, {'name': '@', 'ttl': '86400', 'type': 'NS', 'data': 'ns3.core-networks.com.'}] + # [ + # {'name': '@', 'ttl': '1800', 'type': 'SOA', 'data': 'ns1.core-networks.de. [...]'}, + # {'name': 'test', 'ttl': '60', 'type': 'A', 'data': '1.2.3.4'}, + # {'name': '@', 'ttl': '86400', 'type': 'NS', 'data': 'ns1.core-networks.de.'}, + # {'name': '@', 'ttl': '86400', 'type': 'NS', 'data': 'ns2.core-networks.eu.'}, + # {'name': '@', 'ttl': '86400', 'type': 'NS', 'data': 'ns3.core-networks.com.'} + # ] filtered = dns.records(zone="example.com", params={"type": ["A", "AAAA"]}) print(filtered)