Skip to content
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

Updating list_metrics() to Iterator pattern. #2653

Merged
merged 4 commits into from
Nov 1, 2016

Conversation

dhermes
Copy link
Contributor

@dhermes dhermes commented Oct 31, 2016

NOTE: Has #2651 as diffbase. Unit test changes will be forthcoming.

@dhermes dhermes added the api: logging Issues related to the Cloud Logging API. label Oct 31, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 31, 2016
@dhermes dhermes force-pushed the logging-iterators-metrics branch 2 times, most recently from fc6e57f to 5b33597 Compare October 31, 2016 23:31
@dhermes
Copy link
Contributor Author

dhermes commented Oct 31, 2016

@daspecster @tseaver PTAL

@tseaver
Copy link
Contributor

tseaver commented Nov 1, 2016

pyilnt failure:

logging/google/cloud/logging/_gax.py:500:1: E303 too many blank lines (3)

@dhermes
Copy link
Contributor Author

dhermes commented Nov 1, 2016

Ahhhh! Darn rebases. PTAL.

Was that your only issue?

@tseaver
Copy link
Contributor

tseaver commented Nov 1, 2016

I didn't really review it in detail since Travis was red.

@dhermes
Copy link
Contributor Author

dhermes commented Nov 1, 2016

OK well it's good to go now. LMK what you think

returned = {
'metrics': METRICS,
}
client.connection = _Connection(returned)

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

token = iterator.next_page_token

# First check the token.
self.assertIsNone(token)

This comment was marked as spam.

This comment was marked as spam.

@dhermes
Copy link
Contributor Author

dhermes commented Nov 1, 2016

@tseaver PTAL

@dhermes dhermes merged commit b4d87f7 into googleapis:master Nov 1, 2016
@dhermes dhermes deleted the logging-iterators-metrics branch November 1, 2016 16:52
richkadel pushed a commit to richkadel/google-cloud-python that referenced this pull request May 6, 2017
…rics

Updating list_metrics() to Iterator pattern.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: logging Issues related to the Cloud Logging API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants