Skip to content

Conversation

@dhermes
Copy link
Contributor

@dhermes dhermes commented Feb 23, 2017

This is a work-in-progress for now, but vision and speech are done. Will also be doing logging, pubsub and maybe error_reporting.

FWIW, this is a result of me working on #2746.

@dhermes dhermes added api: clouderrorreporting Issues related to the Error Reporting API. api: logging Issues related to the Cloud Logging API. api: pubsub Issues related to the Pub/Sub API. api: speech Issues related to the Speech-to-Text API. api: vision Issues related to the Cloud Vision API. hygiene labels Feb 23, 2017
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 23, 2017
daspecster
daspecster previously approved these changes Feb 23, 2017
Copy link
Contributor

@daspecster daspecster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM pending Travis/Circle.

@dhermes
Copy link
Contributor Author

dhermes commented Feb 23, 2017

@daspecster Thanks but you are bit quick on the draw. The work-in-progress bit means more changes will be coming.

@dhermes dhermes force-pushed the move-connection-off-client branch from a6375d8 to ee24838 Compare February 23, 2017 19:27
@daspecster
Copy link
Contributor

Sorry, I thought that meant this was one PR of n-PRs.

@lukesneeringer lukesneeringer added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Feb 23, 2017
@dhermes
Copy link
Contributor Author

dhermes commented Feb 23, 2017

Holding off on logging and pubsub in this PR since it would un-necessarily create 3 connections (since there are 3 services created in either case). What we really care about is connection.api_request (here and here), which just relies on CLASS attributes, the credentials (known on the client) and the inputs. So it can wait until a larger refactor.

@dhermes dhermes force-pushed the move-connection-off-client branch from 3dfea5c to 7e29a3d Compare February 23, 2017 20:47
@dhermes
Copy link
Contributor Author

dhermes commented Feb 23, 2017

@daspecster @lukesneeringer PTAL this is ready for review

@dhermes dhermes removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Feb 23, 2017
dhermes added a commit to dhermes/google-cloud-python that referenced this pull request Feb 23, 2017
This actually required a much more comprehensive set of
unit test changes than expected.

Also incorporated a change from googleapis#3057 (which slipped through
due to overly broad mocks).
@daspecster
Copy link
Contributor

This LGTM.

@dhermes dhermes merged commit f66ac9d into googleapis:master Feb 24, 2017
@dhermes dhermes deleted the move-connection-off-client branch February 24, 2017 17:26
dhermes added a commit to dhermes/google-cloud-python that referenced this pull request Mar 1, 2017
This actually required a much more comprehensive set of
unit test changes than expected.

Also incorporated a change from googleapis#3057 (which slipped through
due to overly broad mocks).
richkadel pushed a commit to richkadel/google-cloud-python that referenced this pull request May 6, 2017
…lient

Isolating Connection objects in _http modules (where relevant).
richkadel pushed a commit to richkadel/google-cloud-python that referenced this pull request May 6, 2017
This actually required a much more comprehensive set of
unit test changes than expected.

Also incorporated a change from googleapis#3057 (which slipped through
due to overly broad mocks).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: clouderrorreporting Issues related to the Error Reporting API. api: logging Issues related to the Cloud Logging API. api: pubsub Issues related to the Pub/Sub API. api: speech Issues related to the Speech-to-Text API. api: vision Issues related to the Cloud Vision API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants