GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Moving to iterators in DNS. by dhermes · Pull Request #2560 · googleapis/google-cloud-python

Conversation

@dhermes

@dhermes dhermes commented Oct 18, 2016 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Alternative to #2532 with #2558 as diffbase.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@dhermes dhermes added the api: dns Issues related to the Cloud DNS API. label Oct 18, 2016
@dhermes dhermes assigned daspecster, tseaver and theacodes Oct 18, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 18, 2016
theacodes
theacodes approved these changes Oct 18, 2016
View reviewed changes
Comment thread dns/google/cloud/dns/client.py
passed, defaults to a value set by the API.

:type page_token: string
:type page_token: str

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Comment thread dns/google/cloud/dns/client.py
description=description)


def _item_to_zone(iterator, resource):

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

tseaver
tseaver approved these changes Oct 18, 2016
View reviewed changes
Comment thread dns/google/cloud/dns/zone.py
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.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tseaver

tseaver commented Oct 18, 2016

Copy link
Copy Markdown
Contributor

Travis failure is due to pylint:

************* Module unit_tests.test_zone
R:600, 4: Too many statements (51/50) (too-many-statements)
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dhermes

dhermes commented Oct 18, 2016

Copy link
Copy Markdown
Contributor Author

Yup, saw that. It's from adding self.assertIs(zone, iterator.zone) and not re-running Pylint locally. D'oh!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

dhermes added 2 commits October 18, 2016 13:29
@dhermes
Moving to iterators in DNS.
afb851e
@dhermes
Consolidating DNS zone unit tests (to fix lint).
ea9c653
@dhermes
dhermes force-pushed the dns-iterators-alt branch from 2f66f96 to ea9c653 Compare October 18, 2016 21:00
@dhermes
dhermes merged commit 3d28a5c into googleapis:master Oct 19, 2016
@dhermes
dhermes deleted the dns-iterators-alt branch October 19, 2016 00:05
@dhermes dhermes mentioned this pull request Nov 14, 2016
Upgrading core to version to 0.21.0. #2733
Merged
richkadel pushed a commit to richkadel/google-cloud-python that referenced this pull request May 6, 2017
@dhermes
Merge pull request googleapis#2560 from dhermes/dns-iterators-alt
460ce42
Moving to iterators in DNS.
@theacodes theacodes unassigned daspecster Sep 28, 2018
ohmayr pushed a commit that referenced this pull request Mar 13, 2026
@renovate-bot @parthea
chore(deps): update dependency aiohttp to v3.13.3 [security] (#2560)
718768a
Co-authored-by: Anthonios Partheniou <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

2 more reviewers
@tseaver tseaver tseaver approved these changes
@theacodes theacodes theacodes approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@tseaver tseaver

@theacodes theacodes

Labels

api: dns Issues related to the Cloud DNS API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@dhermes @tseaver @theacodes @daspecster @googlebot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.