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

feat: add sample for commit stats #241

Merged
merged 10 commits into from
Feb 26, 2021
Merged

Conversation

larkee
Copy link
Contributor

@larkee larkee commented Feb 23, 2021

This PR adds a sample to show how to log commit stats for a Cloud Spanner transaction. It also show how a custom logger can be used to access the commit stats within the code.

@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/python-spanner API. label Feb 23, 2021
@snippet-bot
Copy link

snippet-bot bot commented Feb 23, 2021

Here is the summary of changes.

You are about to add 1 region tag.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Feb 23, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Feb 23, 2021
@larkee larkee marked this pull request as ready for review February 24, 2021 09:37
@larkee larkee requested review from a team as code owners February 24, 2021 09:37
@larkee larkee requested review from busunkim96 and removed request for a team February 24, 2021 09:37
samples/samples/snippets.py Outdated Show resolved Hide resolved
samples/samples/snippets.py Outdated Show resolved Hide resolved
samples/samples/snippets.py Outdated Show resolved Hide resolved
larkee and others added 2 commits February 25, 2021 12:27
Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
Co-authored-by: skuruppu <skuruppu@google.com>
@larkee larkee merged commit 1343656 into googleapis:master Feb 26, 2021
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 googleapis/python-spanner API. cla: yes This human has signed the Contributor License Agreement. samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants