From 3bd79627c352c2e846fb0e2a5dd07f3ac3cd1090 Mon Sep 17 00:00:00 2001 From: Ross McFarland Date: Sat, 27 Aug 2022 16:32:06 -0700 Subject: [PATCH] Doc Zone.configured_sub_zones --- octodns/manager.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/octodns/manager.py b/octodns/manager.py index d9e0180..7ee2057 100644 --- a/octodns/manager.py +++ b/octodns/manager.py @@ -338,6 +338,17 @@ class Manager(object): return kwargs def configured_sub_zones(self, zone_name): + ''' + Accepts either UTF-8 or IDNA encoded zone name and returns the list of + any configured sub-zones in IDNA form. E.g. for the following + configured zones: + some.com. + other.some.com. + deep.thing.some.com. + It would return + other + deep.thing + ''' if self._configured_sub_zones is None: # First time through we compute all the sub-zones