Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

tseaver
Copy link
Contributor

@tseaver tseaver commented Sep 19, 2018

/cc @snehashah16

Use session.transaction() instead.

Use ReST markup to set off notes about manual transaction usage.

Closes #6029.

Use 'session.transaction()' instead.

Use ReST markup to set off notes about manual transaction usage.

Closes #6029.
@tseaver tseaver added documentation api: spanner Issues related to the Spanner API. labels Sep 19, 2018
@tseaver tseaver requested a review from theacodes September 19, 2018 19:15
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 19, 2018
Copy link

@snehashah16 snehashah16 left a comment

Choose a reason for hiding this comment

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

LGTM


Normally, applications will not construct transactions manually. Rather,
consider using :meth:`~Database.run_in_transaction` or the context manager
s described above.

This comment was marked as spam.

[ci skip]
@tseaver tseaver merged commit 539d4b9 into googleapis:master Sep 20, 2018
@tseaver tseaver deleted the 6029-spanner-dont_document-database.transaction branch September 20, 2018 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the Spanner API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants