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 samples for PITR #222

Merged
merged 12 commits into from Feb 25, 2021
Merged

feat: add samples for PITR #222

merged 12 commits into from Feb 25, 2021

Conversation

zoercai
Copy link
Contributor

@zoercai zoercai commented Feb 4, 2021

This PR modifies existing samples and adds a sample to show how to use the PITR feature.

@zoercai zoercai requested review from a team as code owners February 4, 2021 05:52
@zoercai zoercai requested review from dinagraves and removed request for a team February 4, 2021 05:52
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Feb 4, 2021
@product-auto-label product-auto-label bot added api: spanner Issues related to the googleapis/python-spanner API. samples Issues that are directly related to samples. labels Feb 4, 2021
@snippet-bot
Copy link

snippet-bot bot commented Feb 4, 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

@zoercai zoercai added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Feb 4, 2021
@thiagotnunes thiagotnunes changed the title Add PITR samples feat: adds samples for PITR Feb 4, 2021
Copy link
Contributor

@thiagotnunes thiagotnunes left a comment

Choose a reason for hiding this comment

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

LGTM

@thiagotnunes
Copy link
Contributor

This should only be merged after #148 is merged.

@larkee
Copy link
Contributor

larkee commented Feb 4, 2021

This should only be merged after #148 is merged.

This should be merged after a release that contains #148 to avoid breaking sample tests that run using the latest release.

@larkee larkee changed the title feat: adds samples for PITR feat: add samples for PITR Feb 5, 2021
@larkee larkee added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Feb 23, 2021
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Feb 23, 2021
Copy link
Contributor

@larkee larkee left a comment

Choose a reason for hiding this comment

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

Please add the new samples to backup_sample.py. Python does not split individual samples into separate files like other languages.

@zoercai zoercai requested a review from larkee February 24, 2021 03:38
samples/samples/backup_sample.py Outdated Show resolved Hide resolved
samples/samples/backup_sample.py Outdated Show resolved Hide resolved
samples/samples/backup_sample.py Outdated Show resolved Hide resolved
@zoercai zoercai requested a review from larkee February 24, 2021 06:46
samples/samples/backup_sample.py Outdated Show resolved Hide resolved
samples/samples/backup_sample_test.py Outdated Show resolved Hide resolved
samples/samples/backup_sample_test.py Outdated Show resolved Hide resolved
@zoercai zoercai requested a review from larkee February 24, 2021 23:59
@zoercai zoercai requested a review from larkee February 25, 2021 00:58
Copy link
Contributor

@larkee larkee left a comment

Choose a reason for hiding this comment

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

LGTM once the line is reverted 👍

samples/samples/backup_sample.py Outdated Show resolved Hide resolved
@zoercai zoercai added automerge Merge the pull request once unit tests and other checks pass. and removed do not merge Indicates a pull request not ready for merge, due to either quality or timing. labels Feb 25, 2021
@gcf-merge-on-green gcf-merge-on-green bot merged commit da146b7 into master Feb 25, 2021
@gcf-merge-on-green gcf-merge-on-green bot deleted the pitr-samples branch February 25, 2021 01:42
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Feb 25, 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

4 participants