-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moving to iterators in DNS. #2560
Conversation
@@ -70,31 +71,19 @@ def list_zones(self, max_results=None, page_token=None): | |||
:param max_results: maximum number of zones to return, If not | |||
passed, defaults to a value set by the API. | |||
|
|||
:type page_token: string | |||
:type page_token: str |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@@ -115,3 +104,18 @@ def zone(self, name, dns_name=None, description=None): | |||
""" | |||
return ManagedZone(name, dns_name, client=self, | |||
description=description) | |||
|
|||
|
|||
def _item_to_zone(iterator, resource): |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
client=client, path=path, items_key='changes', | ||
item_to_value=_item_to_changes, | ||
page_token=page_token, max_results=max_results) | ||
iterator.zone = self |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Travis failure is due to pylint:
|
Yup, saw that. It's from adding |
2f66f96
to
ea9c653
Compare
Moving to iterators in DNS.
Alternative to #2532 with #2558 as diffbase.