FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add basic helpers needed for GAPIC client in datastore. by dhermes · Pull Request #3105 · googleapis/google-cloud-python · GitHub

Add basic helpers needed for GAPIC client in datastore. - #3105

Merged
dhermes merged 1 commit into
googleapis:masterfrom
dhermes:fix-2746
Mar 6, 2017
Merged

Add basic helpers needed for GAPIC client in datastore.#3105
dhermes merged 1 commit into
googleapis:masterfrom
dhermes:fix-2746

Conversation

dhermes commented Mar 6, 2017

Copy link
Copy Markdown
Contributor

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.

Towards #2746.

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 added api: datastore Issues related to the Datastore API. GAX grpc labels Mar 6, 2017
googlebot added the cla: yes This human has signed the Contributor License Agreement. label 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.

return self._datastore_api.allocate_ids(project, request)


class HTTPDatastoreAPI(object):

This comment was marked as spam.

This comment was marked as spam.

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).
dhermes merged commit 1a2ea6c into googleapis:master Mar 6, 2017
dhermes deleted the fix-2746 branch March 6, 2017 19:47
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.
parthea pushed a commit that referenced this pull request Nov 24, 2025
This is to prepare for a removal of the Connection class
(relates to #2746 and #3105).
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 free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: datastore Issues related to the Datastore API. cla: yes This human has signed the Contributor License Agreement. grpc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL