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

#903: Ensure transaction ID is passed through to connection during commit. by tseaver · Pull Request #904 · googleapis/google-cloud-python · GitHub

#903: Ensure transaction ID is passed through to connection during commit. - #904

Merged
tseaver merged 1 commit into
googleapis:masterfrom
tseaver:903-pass_xact_id_during_commit
Jun 1, 2015
Merged

#903: Ensure transaction ID is passed through to connection during commit.#904
tseaver merged 1 commit into
googleapis:masterfrom
tseaver:903-pass_xact_id_during_commit

Conversation

tseaver commented Jun 1, 2015

Copy link
Copy Markdown
Contributor

Fixes #903.

googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jun 1, 2015

dhermes commented Jun 1, 2015

Copy link
Copy Markdown
Contributor

LGTM. Seems leakier than need be (i.e. we could put the ID in the commit signature and Batch wouldn't need to know about the ID)

Pretty scary that was happening

tseaver commented Jun 1, 2015

Copy link
Copy Markdown
Contributor Author

Having transaction_id in the signature of Transaction.commit would be pretty silly.

My initial pass gave Batch.commit() an optional _transaction_id parameter, documented as "for use only by Transaction.commit(), but pylint put the kibosh on it (it doesn't want the subclass to have a different signature than the superclass.

tseaver added a commit that referenced this pull request Jun 1, 2015
#903: Ensure transaction ID is passed through to connection during commit.
tseaver merged commit 9491053 into googleapis:master Jun 1, 2015
tseaver deleted the 903-pass_xact_id_during_commit branch June 1, 2015 16:02

Copy link
Copy Markdown

Changes Unknown when pulling 164e1d8 on tseaver:903-pass_xact_id_during_commit into * on GoogleCloudPlatform:master*.

parthea added a commit that referenced this pull request Aug 21, 2025
parthea added a commit that referenced this pull request Sep 16, 2025
parthea pushed a commit that referenced this pull request Nov 24, 2025
Source-Link: googleapis/synthtool@352b9d4
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:3e3800bb100af5d7f9e810d48212b37812c1856d20ffeafb99ebe66461b61fc7

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Mar 2, 2026
Co-authored-by: Anna Cocuzzo <63511057+acocuzzo@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Mar 9, 2026
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
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

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Transactions are commited in CommitRequest.NON_TRANSACTIONAL mode

4 participants


Back | FazBrowse Home | New Git URL