Skip to content

Conversation

@dhermes
Copy link
Contributor

@dhermes dhermes commented Dec 15, 2016

This is part of #2606. The idea behind this PR: we can drop support for Connection classes on a package-by-package basis rather than all at once.

/cc @tseaver and @mckoss this will have teeny implications on downstream clients

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 15, 2016
self._connection = self._connection_class(
credentials=credentials, http=http)
self._credentials = credentials
self._http = http

This comment was marked as spam.

This comment was marked as spam.

@daspecster
Copy link
Contributor

I would assume you would want @tseaver to take a look too, but this looks pretty straight forward and LGTM.

@dhermes
Copy link
Contributor Author

dhermes commented Dec 15, 2016

@daspecster Yup I'll wait for @tseaver. Thanks


def __init__(self, project=None, namespace=None,
credentials=None, http=None):
_ClientProjectMixin.__init__(self, project=project)

This comment was marked as spam.

:meth:`~httplib2.Http.request`. If not passed, an
``http`` object is created that is bound to the
``credentials`` for the current object.
"""

This comment was marked as spam.

This comment was marked as spam.

@dhermes dhermes merged commit cf1fc28 into googleapis:master Dec 15, 2016
@dhermes dhermes deleted the rm-connection-from-base branch December 15, 2016 20:26
richkadel pushed a commit to richkadel/google-cloud-python that referenced this pull request May 6, 2017
parthea pushed a commit that referenced this pull request Nov 24, 2025
Remove connection from base Client class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: core 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