GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: Batch Write API implementation and samples · Pull Request #1027 · googleapis/python-spanner

This repository was archived by the owner on Jun 8, 2026. It is now read-only.

Conversation

@ghost

@ghost ghost commented Oct 19, 2023 •
edited by harshachinta
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

This PR adds code changes and samples for Batch Write feature.
https://cloud.google.com/spanner/docs/batch-write

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@ghost
ghost self-requested a review as a code owner October 19, 2023 10:04
@ghost
ghost requested review from a team and ohmayr October 19, 2023 10:04
@product-auto-label product-auto-label Bot added size: l Pull request size is large. api: spanner Issues related to the googleapis/python-spanner API. samples Issues that are directly related to samples. labels Oct 19, 2023
@snippet-bot

snippet-bot Bot commented Oct 19, 2023 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Here is the summary of changes.

You are about to add 1 region tag.
  • samples/samples/snippets.py:406, tag spanner_batch_write_at_least_once

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
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ghost

ghost commented Oct 19, 2023

Copy link
Copy Markdown
Author

@harshachinta - Can you please review this PR?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@sunny1612
feat: Batch Write API implementation and samples
a32dd63
@ghost
ghost force-pushed the feat-batch-write branch from d47b9f2 to a32dd63 Compare October 20, 2023 06:52
@sunny1612
Update sample
96e6e15
@ghost
ghost force-pushed the feat-batch-write branch from 0f0d42f to 96e6e15 Compare November 2, 2023 11:24
@ghost

ghost commented Nov 14, 2023

Copy link
Copy Markdown
Author

@harshachinta - Can you please review this PR?

@harshachinta / @surbhigarg92 - Can you please take a look?

harshachinta reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@harshachinta
Merge branch 'main' into feat-batch-write
1dc89f8
harshachinta
harshachinta reviewed Nov 16, 2023
View reviewed changes
Comment thread google/cloud/spanner_v1/batch.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

harshachinta
harshachinta reviewed Nov 16, 2023
View reviewed changes
Comment thread google/cloud/spanner_v1/batch.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

harshachinta
harshachinta reviewed Nov 16, 2023
View reviewed changes
Comment thread google/cloud/spanner_v1/batch.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

harshachinta
harshachinta reviewed Nov 16, 2023
View reviewed changes
Comment thread google/cloud/spanner_v1/database.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

harshachinta
harshachinta reviewed Nov 16, 2023
View reviewed changes
Comment thread google/cloud/spanner_v1/database.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

harshachinta
harshachinta reviewed Nov 16, 2023
View reviewed changes
Comment thread google/cloud/spanner_v1/database.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@harshachinta
Merge branch 'main' into feat-batch-write
edf304e
harshachinta
harshachinta reviewed Nov 16, 2023
View reviewed changes

@harshachinta harshachinta left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Took a look the implementation changes. Will take a look at tests tomorrow.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@sunny1612
review comments
7708302
harshachinta
harshachinta reviewed Nov 16, 2023
View reviewed changes
Comment thread google/cloud/spanner_v1/batch.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@sunny1612
return public class for mutation groups
38d9b83
@ghost
ghost requested a review from harshachinta November 17, 2023 08:41
Sunny Singh
Merge branch 'main' into feat-batch-write
e584d96
harshachinta
harshachinta reviewed Nov 29, 2023
View reviewed changes
Comment thread google/cloud/spanner_v1/batch.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

harshachinta
harshachinta reviewed Nov 29, 2023
View reviewed changes
Comment thread google/cloud/spanner_v1/batch.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

harshachinta and others added 2 commits November 30, 2023 18:27
@harshachinta
feat(spanner): nit sample data refactoring
dc94850
@harshachinta
Merge branch 'main' into feat-batch-write
1e8bac4
@harshachinta harshachinta added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 1, 2023
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 1, 2023
@harshachinta
Merge branch 'main' into feat-batch-write
8e3cbf2
harshachinta
harshachinta reviewed Dec 1, 2023
View reviewed changes
Comment thread tests/unit/test_database.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@harshachinta harshachinta added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 1, 2023
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 1, 2023
@harshachinta

harshachinta commented Dec 1, 2023

Copy link
Copy Markdown
Contributor

@sunnsing-google
LGTM overall, except for one comment on correct mock response. Presubmits are failing and I am trying to figure out the issue.
Will approve once the presubmits get fixed.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@sunny1612
review comments
a0937cd
@harshachinta harshachinta added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 1, 2023
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 1, 2023
@ghost

ghost commented Dec 1, 2023

Copy link
Copy Markdown
Author

@sunnsing-google LGTM overall, except for one comment on correct mock response. Presubmits are failing and I am trying to figure out the issue. Will approve once the presubmits get fixed.

Thanks. PR is updated with the test change. PTAL.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@sunny1612
fix test
a4cf000
@harshachinta harshachinta added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 2, 2023
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 2, 2023
@harshachinta
Merge branch 'main' into feat-batch-write
0263cb6
@harshachinta harshachinta added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 3, 2023
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 3, 2023
@harshachinta
Merge branch 'main' into feat-batch-write
06ab2ca
@harshachinta harshachinta added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 3, 2023
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 3, 2023
harshachinta
harshachinta approved these changes Dec 3, 2023
View reviewed changes
@harshachinta harshachinta added do not merge Indicates a pull request not ready for merge, due to either quality or timing. kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Dec 3, 2023
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 3, 2023
@harshachinta harshachinta removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Dec 3, 2023
@harshachinta
harshachinta merged commit aa36b07 into googleapis:main Dec 3, 2023
@release-please release-please Bot mentioned this pull request Dec 3, 2023
chore(main): release 3.41.0 #1009
Merged
@ghost
ghost deleted the feat-batch-write branch December 3, 2023 19:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@ohmayr ohmayr Awaiting requested review from ohmayr ohmayr is a code owner automatically assigned from googleapis/python-samples-reviewers

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: spanner Issues related to the googleapis/python-spanner API. samples Issues that are directly related to samples. size: l Pull request size is large.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@harshachinta @yoshi-kokoro @sunny1612
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.