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

Making datastore Connection.rollback() return low-level protobuf. #3092

Merged
merged 1 commit into from
Mar 3, 2017

Conversation

dhermes
Copy link
Contributor

@dhermes dhermes commented Mar 3, 2017

Towards #2746 (as were #3064 and #3066 and #3091). This approach is to slowly transition from our current approach to use the GAPIC generated surface.

@dhermes dhermes added api: datastore Issues related to the Datastore API. GAX grpc labels Mar 3, 2017
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 3, 2017
"""
request = _datastore_pb2.RollbackRequest()
request.transaction = transaction_id
# Nothing to do with this response, so just execute the method.
self._datastore_api.rollback(project, request)
# Response is empty (i.e. no fields) but we return it anyway.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

Copy link
Contributor

@daspecster daspecster left a comment

Choose a reason for hiding this comment

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

Just one question on the comment otherwise LGTM.

@dhermes
Copy link
Contributor Author

dhermes commented Mar 3, 2017

I'm going to go ahead and merge.

@dhermes dhermes merged commit 2f38f2b into googleapis:master Mar 3, 2017
@dhermes dhermes deleted the fix-2746-rollback branch March 3, 2017 18:33
richkadel pushed a commit to richkadel/google-cloud-python that referenced this pull request May 6, 2017
Making datastore Connection.rollback() return low-level protobuf.
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