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

Renaming connection module as _http in 5 packages. #2690

Merged
merged 4 commits into from
Nov 7, 2016

Conversation

dhermes
Copy link
Contributor

@dhermes dhermes commented Nov 4, 2016

The packages are BigQuery, Datastore, Logging, Pub/Sub and Storage.

The rename is in advance of a larger re-factor (#2606). But so long as the connections are not public, the re-factor can happen without user-facing implications.

I'd also like to make all the connection attributes on instances into _connection. @tseaver Is it OK to put that change in this PR?

The packages are BigQuery, Datastore, Logging, Pub/Sub
and Storage.

The rename is in advance of a larger re-factor. But so
long as the connections are not public, the re-factor
can happen without user-facing implications.
@dhermes dhermes added the hygiene label Nov 4, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 4, 2016
Copy link
Contributor

@tseaver tseaver left a comment

Choose a reason for hiding this comment

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

LGTM, however you decide about the datastore.batch.Batch.connection property.

@@ -107,7 +107,7 @@ def namespace(self):
def connection(self):
"""Getter for connection over which the batch will run.

:rtype: :class:`google.cloud.datastore.connection.Connection`
:rtype: :class:`google.cloud.datastore._http.Connection`
:returns: The connection over which the batch will run.
"""
return self._client.connection

This comment was marked as spam.

This comment was marked as spam.

@dhermes dhermes merged commit a52010e into googleapis:master Nov 7, 2016
@dhermes dhermes deleted the make-connection-non-public branch November 7, 2016 22:41
richkadel pushed a commit to richkadel/google-cloud-python that referenced this pull request May 6, 2017
…ublic

Renaming connection module as _http in 5 packages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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