-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Remove connection from base Client class #2870
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
Conversation
b5d633c to
2c42b7c
Compare
| 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.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
I would assume you would want @tseaver to take a look too, but this looks pretty straight forward and LGTM. |
|
@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.
This comment was marked as spam.
Sorry, something went wrong.
| :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.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Remove connection from base Client class
Remove connection from base Client class
This is part of #2606. The idea behind this PR: we can drop support for
Connectionclasses on a package-by-package basis rather than all at once./cc @tseaver and @mckoss this will have teeny implications on downstream clients