Uh oh!
There was an error while loading. Please reload this page.
Add basic helpers needed for GAPIC client in datastore. - #3105
Merged
Conversation
Includes - ``use_gax`` argument in Client constructor - ``make_datastore_api`` helper to make a gRPC channel with the correct credentials - A basic ``HTTPDatastoreAPI`` class to act as the equivalent to the GAPIC ``DatastoreClient`` - A lazy property on ``Client`` that will hold the API object.
dhermes
commented
Mar 6, 2017
| return _determine_default_project(project) | ||
| @property | ||
| def _datastore_api(self): |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| return self._datastore_api.allocate_ids(project, request) | ||
| class HTTPDatastoreAPI(object): |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
dhermes added a commit
to dhermes/google-cloud-python
that referenced
this pull request
Mar 6, 2017
This is to prepare for a removal of the Connection class (relates to googleapis#2746 and googleapis#3105).
lukesneeringer
approved these changes
Mar 6, 2017
richkadel pushed a commit
to richkadel/google-cloud-python
that referenced
this pull request
May 6, 2017
This is to prepare for a removal of the Connection class (relates to googleapis#2746 and googleapis#3105).
richkadel pushed a commit
to richkadel/google-cloud-python
that referenced
this pull request
May 6, 2017
Add basic helpers needed for GAPIC client in datastore.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Includes
use_gaxargument in Client constructormake_datastore_apihelper to make a gRPC channel withthe correct credentials
HTTPDatastoreAPIclass to act as the equivalentto the GAPIC
DatastoreClientClientthat will hold the APIobject.
Towards #2746.