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 — Fixes #937 - Adds HTTP method and URL to exceptions. by dhermes · Pull Request #961 · googleapis/google-cloud-python

Conversation

@dhermes

@dhermes dhermes commented Jul 2, 2015

Copy link
Copy Markdown
Contributor

@jgeewax Taking #938 over since it lingered.

@tseaver I rebased and will shortly send another commit addressing review feedback.

Sorry, something went wrong.

Uh oh!

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

All reactions
@jgeewax @dhermes
Fixes googleapis#937 - Adds HTTP method and URL to exceptions.
a757448
@googlebot

googlebot commented Jul 2, 2015

Copy link
Copy Markdown

We found a Contributor License Agreement for you (the sender of this pull request) and all commit authors, but as best as we can tell these commits were authored by someone else. If that's the case, please add them to this pull request and have them confirm that they're okay with these commits being contributed to Google. If we're mistaken and you did author these commits, just reply here to confirm.

All reactions

Sorry, something went wrong.

Uh oh!

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

@googlebot googlebot added the cla: no This human has *not* signed the Contributor License Agreement. label Jul 2, 2015
@dhermes dhermes assigned jgeewax Jul 2, 2015
@dhermes
Documenting request_string and checking for None.
203d0d3
Addressing comments in review and tox failures.
@dhermes

dhermes commented Jul 2, 2015

Copy link
Copy Markdown
Contributor Author

@tseaver PTAL

The things left unaddressed from the last PR were as follows:


From @tseaver @jgeewax: Wasn't sure about a couple things, so wanted to ask...

  1. Name of the variable (request_string). Seems expressive, but would rather pass a request object or something similar. Should I rename? Or pass two (method and url) on to make_exception?
  2. Assembling the request string in the make_exception call (seemed like it might be better done on a separate line?)

From @dhermes: Should we have a newline somewhere in the error message if it gets too long? (I lean towards no because of line wrapping.)

All reactions

Sorry, something went wrong.

Uh oh!

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

@tseaver

tseaver commented Jul 2, 2015

Copy link
Copy Markdown
Contributor

request_string seems wrong -- how about description or info?

I'm -0 on injecting a newline (thinking e.g. about logfiles: human readability vs. parsing by machine).

All reactions

Sorry, something went wrong.

Uh oh!

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

@dhermes

dhermes commented Jul 2, 2015

Copy link
Copy Markdown
Contributor Author

WDYT of error_info or extra_error_info?

All reactions

Sorry, something went wrong.

Uh oh!

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

@tseaver

tseaver commented Jul 3, 2015

Copy link
Copy Markdown
Contributor

error_info SGTM.

I've closed #938

All reactions

Sorry, something went wrong.

Uh oh!

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

@dhermes
Renaming request_string as error_info.
e5b0edf
@dhermes

dhermes commented Jul 3, 2015

Copy link
Copy Markdown
Contributor Author

@tseaver Are we all good then?

All reactions

Sorry, something went wrong.

Uh oh!

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

@tseaver

tseaver commented Jul 3, 2015

Copy link
Copy Markdown
Contributor

LGTM

All reactions

Sorry, something went wrong.

Uh oh!

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

@jgeewax

jgeewax commented Jul 3, 2015

Copy link
Copy Markdown
Contributor

LGTM - sorry for letting this linger. Thanks for cleaning it up for me :(

All reactions

Sorry, something went wrong.

Uh oh!

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

@dhermes

dhermes commented Jul 3, 2015

Copy link
Copy Markdown
Contributor Author

No worries @jgeewax

All reactions

Sorry, something went wrong.

Uh oh!

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

dhermes added a commit that referenced this pull request Jul 3, 2015
@dhermes
Merge pull request #961 from dhermes/jgeewax-937-more-helpful-errors
af97ff1
Fixes #937 - Adds HTTP method and URL to exceptions.
@dhermes
dhermes merged commit af97ff1 into googleapis:master Jul 3, 2015
@dhermes
dhermes deleted the jgeewax-937-more-helpful-errors branch July 3, 2015 15:32
@dhermes dhermes mentioned this pull request Jul 10, 2015
Upgrading version to 0.7 #981
Merged
@theacodes theacodes unassigned jgeewax Sep 28, 2018
parthea pushed a commit that referenced this pull request Jul 6, 2023
@gguuss @busunkim96
Adds test for encoded characters. [(#961)](GoogleCloudPlatform/python…
7b114da
…-docs-samples#961)
parthea pushed a commit that referenced this pull request Nov 22, 2025
@igorbernstein2
doc: add samples for filtering using async apis (#961)
2ae115e
* doc: add samples for filtering using async apis

* format

* suffix snippets
parthea pushed a commit that referenced this pull request Nov 24, 2025
@Linchin
feat: query profiling part 2: asynchronous (#961)
3cb23e4
* feat: support query profiling

* collection

* fix unit tests

* unit tests

* vector get and stream, unit tests

* aggregation get and stream, unit tests

* docstring

* query profile unit tests

* update base classes' method signature

* documentsnapshotlist unit tests

* func signatures

* undo client.py change

* transaction.get()

* lint

* system test

* fix shim test

* fix sys test

* fix sys test

* system test

* another system test

* skip system test in emulator

* stream generator unit tests

* coverage

* add system tests

* small fixes

* undo document change

* add system tests

* vector query system tests

* format

* fix system test

* comments

* add system tests

* improve stream generator

* type checking

* adding stars

* delete comment

* remove coverage requirements for type checking part

* add explain_options to StreamGenerator

* yield tuple instead

* raise exception when explain_metrics is absent

* refactor documentsnapshotlist into queryresultslist

* add comment

* improve type hint

* lint

* move QueryResultsList to stream_generator.py

* aggregation related type annotation

* transaction return type hint

* refactor QueryResultsList

* change stream generator to return ExplainMetrics instead of yield

* update aggregation query to use the new generator

* update query to use the new generator

* update vector query to use the new generator

* lint

* type annotations

* fix type annotation to be python 3.9 compatible

* fix type hint for python 3.8

* fix system test

* add test coverage

* use class method get_explain_metrics() instead of property explain_metrics

* feat: add explain_metrics to async generator

* async support for query

* system tests for query

* query profile for async vector query

* vector query system test

* async transaction

* async transaction system test

* async collection

* fix system test

* test coverage

* test coverage

* collection system test

* async aggregation

* lint

* cover

* lint

* aggregation system tests

* cover and fix system test

* delete type ignore

* improve type annotation

* mypy

* mypy

* address comments

* delete comments

* address comments
parthea pushed a commit that referenced this pull request Mar 2, 2026
@igorbernstein2
doc: add samples for filtering using async apis (#961)
71b357f
* doc: add samples for filtering using async apis

* format

* suffix snippets
parthea pushed a commit that referenced this pull request Mar 2, 2026
@acocuzzo
chore: add flakybot.yaml (#961)
ef5ef59
* chore: add flakyboy.yaml

* chore: add flakybot.yaml
parthea pushed a commit that referenced this pull request Mar 6, 2026
@tswast
test: ensure prerelease versions of pandas and arrow are tested night…
0108cad
…ly (#961)

* test: ensure prerelease versions of pandas and arrow are tested nightly

* use regex to find package names rather than filter out comment lines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

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

Assignees

No one assigned

Labels

cla: no This human has *not* 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.

4 participants

@dhermes @googlebot @tseaver @jgeewax
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.