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
docs: add samples from spanner/cloud-client #117
Commits on Feb 14, 2017
-
Add spanner samples [(googleapis#804)](GoogleCloudPlatform/python-doc…
Jon Wayne Parrott committedFeb 14, 2017
Commits on Feb 22, 2017
Commits on Apr 4, 2017
-
Remove cloud config fixture [(googleapis#887)](GoogleCloudPlatform/py…
…thon-docs-samples#887) * Remove cloud config fixture * Fix client secrets * Fix bigtable instance
Commits on Apr 12, 2017
-
Fix reference to our testing tools
Jon Wayne Parrott committedApr 12, 2017
Commits on Apr 24, 2017
-
Auto-update dependencies. [(googleapis#914)](GoogleCloudPlatform/pyth…
…on-docs-samples#914) * Auto-update dependencies. * xfail the error reporting test * Fix lint
Commits on Apr 27, 2017
-
Jon Wayne Parrott committed
Apr 27, 2017
Commits on May 1, 2017
-
Auto-update dependencies. [(googleapis#922)](GoogleCloudPlatform/pyth…
…on-docs-samples#922) * Auto-update dependencies. * Fix pubsub iam samples
Commits on May 3, 2017
-
Update spanner sample to use bind parameters [(googleapis#928)](Googl…
Jon Wayne Parrott committedMay 3, 2017
Commits on May 5, 2017
-
Jon Wayne Parrott committed
May 5, 2017
Commits on May 24, 2017
-
Fix README rst links [(googleapis#962)](GoogleCloudPlatform/python-do…
…cs-samples#962) * Fix README rst links * Update all READMEs
Commits on Jun 17, 2017
Commits on Jun 27, 2017
-
Auto-update dependencies. [(googleapis#1004)](GoogleCloudPlatform/pyt…
…hon-docs-samples#1004) * Auto-update dependencies. * Fix natural language samples * Fix pubsub iam samples * Fix language samples * Fix bigquery samples
Commits on Jul 27, 2017
-
Swap the album titles to be consistent with other samples [(googleapi…
Jon Wayne Parrott committedJul 27, 2017
Commits on Aug 7, 2017
-
Auto-update dependencies. [(googleapis#1055)](GoogleCloudPlatform/pyt…
…hon-docs-samples#1055) * Auto-update dependencies. * Explicitly use latest bigtable client Change-Id: Id71e9e768f020730e4ca9514a0d7ebaa794e7d9e * Revert language update for now Change-Id: I8867f154e9a5aae00d0047c9caf880e5e8f50c53 * Remove pdb. smh Change-Id: I5ff905fadc026eebbcd45512d4e76e003e3b2b43
Commits on Aug 8, 2017
-
Pass multi_use=True to spanner read-only transaction [(googleapis#1063)…
…](GoogleCloudPlatform/python-docs-samples#1063) Change-Id: Ied9d9f519edd572d79dc95d2812c1b98f5a92794
Jon Wayne Parrott committedAug 8, 2017 -
Change-Id: I887507fa33ea30f5859707063326934e5c11208f
Jon Wayne Parrott committedAug 8, 2017
Commits on Aug 29, 2017
-
Auto-update dependencies. [(googleapis#1093)](GoogleCloudPlatform/pyt…
…hon-docs-samples#1093) * Auto-update dependencies. * Fix storage notification poll sample Change-Id: I6afbc79d15e050531555e4c8e51066996717a0f3 * Fix spanner samples Change-Id: I40069222c60d57e8f3d3878167591af9130895cb * Drop coverage because it's not useful Change-Id: Iae399a7083d7866c3c7b9162d0de244fbff8b522 * Try again to fix flaky logging test Change-Id: I6225c074701970c17c426677ef1935bb6d7e36b4
Commits on Sep 12, 2017
-
Add spanner stale data sample [(googleapis#1107)](GoogleCloudPlatform…
Jon Wayne Parrott committedSep 12, 2017
Commits on Sep 18, 2017
-
Update all generated readme auth instructions [(googleapis#1121)](Goo…
…gleCloudPlatform/python-docs-samples#1121) Change-Id: I03b5eaef8b17ac3dc3c0339fd2c7447bd3e11bd2
Jon Wayne Parrott committedSep 18, 2017
Commits on Oct 12, 2017
-
Added Link to Python Setup Guide [(#1158)](GoogleCloudPlatform/python…
…-docs-samples#1158) * Update Readme.rst to add Python setup guide As requested in b/64770713. This sample is linked in documentation https://cloud.google.com/bigtable/docs/scaling, and it would make more sense to update the guide here than in the documentation. * Update README.rst * Update README.rst * Update README.rst * Update README.rst * Update README.rst * Update install_deps.tmpl.rst * Updated readmegen scripts and re-generated related README files * Fixed the lint error
michaelawyu authored and Jon Wayne Parrott committedOct 12, 2017
Commits on Oct 23, 2017
Commits on Nov 1, 2017
Commits on Nov 3, 2017
-
Fixed failed tests on Kokoro (Spanner + Translate) [(#1192)](GoogleCl…
…oudPlatform/python-docs-samples#1192) * Fixed failed tests on Kokoro (Spanner + Translate) * Update quickstart_test.py
michaelawyu authored and Jon Wayne Parrott committedNov 3, 2017
Commits on Nov 9, 2017
-
Bump spanner stale read from 10 to 15 seconds. [(#1207)](GoogleCloudP…
…latform/python-docs-samples#1207) At the request of the spanner team.
Commits on Dec 7, 2017
-
Added "Open in Cloud Shell" buttons to README files [(#1254)](GoogleC…
michaelawyu authored and Jon Wayne Parrott committedDec 7, 2017
Commits on Jan 12, 2018
Commits on Feb 8, 2018
Commits on Mar 1, 2018
Commits on Mar 5, 2018
-
Auto-update dependencies. [(#1377)](GoogleCloudPlatform/python-docs-s…
…amples#1377) * Auto-update dependencies. * Update requirements.txt
Commits on Mar 15, 2018
Commits on Mar 16, 2018
Commits on Mar 27, 2018
Commits on Apr 7, 2018
-
Regenerate the README files and fix the Open in Cloud Shell link for …
…some samples [(#1441)](GoogleCloudPlatform/python-docs-samples#1441)
chenyumic committedApr 7, 2018
Commits on Apr 26, 2018
Commits on Jun 13, 2018
-
Adding Spanner STRUCT param samples [(#1519)](GoogleCloudPlatform/pyt…
…hon-docs-samples#1519) * Adding Spanner STRUCT param samples
Commits on Jun 29, 2018
-
Fix python Cloud Spanner tests. [(#1548)](GoogleCloudPlatform/python-…
…docs-samples#1548) * Fix python Cloud Spanner tests. * Lint.
Commits on Aug 21, 2018
-
Cleanup spanner tests. [(#1633)](GoogleCloudPlatform/python-docs-samp…
…les#1633) * Cleanup spanner tests. * Update requirements.
Commits on Oct 10, 2018
-
Added Spanner DML/PDML samples. [(#1742)](GoogleCloudPlatform/python-…
…docs-samples#1742) * Added Spanner DML/PDML samples. * Fixed lint issues and bumped version.
Commits on Nov 13, 2018
Commits on Nov 20, 2018
Commits on Dec 7, 2018
-
Add sample to delete data. [(#1872)](GoogleCloudPlatform/python-docs-…
…samples#1872) * Update snippets.py * Update snippets_test.py
Commits on Feb 6, 2019
-
Auto-update dependencies. [(#1980)](GoogleCloudPlatform/python-docs-s…
…amples#1980) * Auto-update dependencies. * Update requirements.txt * Update requirements.txt
Commits on Mar 25, 2019
-
Add Cloud Spanner Batch DML sample [(#2068)](GoogleCloudPlatform/pyth…
…on-docs-samples#2068) * Add Cloud Spanner Batch DML sample * Fix test. * Lint. * More Lint.
Commits on May 15, 2019
-
Add queryWithParameter to Cloud Spanner sample. [(#2153)](GoogleCloud…
…Platform/python-docs-samples#2153) * Add queryWithParameter to Cloud Spanner sample. * Lint. * Update to fix test.
Commits on Jun 14, 2019
-
Deflake bigtable and spanner tests. [(#2224)](GoogleCloudPlatform/pyt…
…hon-docs-samples#2224) * Spanner doesn't actually promise the order of the results, so make the assertion work regardless of ordering. * Bigtable might need some more time to scale, so retry the assertion up to 10 times.
Commits on Jun 19, 2019
-
Improve and fix Cloud Spanner samples that transfer marketing budget …
…[(#2198)](GoogleCloudPlatform/python-docs-samples#2198) The samples that transfer part of an album's marketing budget had some issues: + `read_write_transaction`: Compared `second_album_budget` with an arbitrary integer, rather than explicitly checking against `transfer_amount`. + `write_with_dml_transaction`: Moved money from album 1 to album 2, even though `read_write_transaction` was the other way around. Also retrieved album 1's budget where it should have retrieved album 2's budget. This change fixes those issues and updates the tests accordingly.
Commits on Jul 10, 2019
-
Add Datatypes examples to Spanner sample. [(#2251)](GoogleCloudPlatfo…
…rm/python-docs-samples#2251) * Add Datatypes examples to Spanner sample. * Lint. * Lint. * Fix test.
Commits on Aug 6, 2019
-
Add bulk loading Python Sample [(#2295)](GoogleCloudPlatform/python-d…
…ocs-samples#2295) Adds the following functionality: * Create bulk_load_csv * Delete bulk_load_csv * Create schema.ddl
Commits on Sep 5, 2019
-
Fix Spanner
BOOL
example after upstream typo fix [(#2356)](GoogleCl……oudPlatform/python-docs-samples#2356) Summary: This code used to be correct, when the Spanner Python API had a typo in the parameter name, but that typo was fixed in an upstream pull request: <googleapis/google-cloud-python#7295> Test Plan: Running `git grep BOOE` now returns no results. wchargin-branch: bool-not-booe
Commits on Sep 13, 2019
Commits on Oct 7, 2019
Commits on Nov 16, 2019
Commits on Dec 21, 2019
-
Auto-update dependencies. [(#2005)](GoogleCloudPlatform/python-docs-s…
…amples#2005) * Auto-update dependencies. * Revert update of appengine/flexible/datastore. * revert update of appengine/flexible/scipy * revert update of bigquery/bqml * revert update of bigquery/cloud-client * revert update of bigquery/datalab-migration * revert update of bigtable/quickstart * revert update of compute/api * revert update of container_registry/container_analysis * revert update of dataflow/run_template * revert update of datastore/cloud-ndb * revert update of dialogflow/cloud-client * revert update of dlp * revert update of functions/imagemagick * revert update of functions/ocr/app * revert update of healthcare/api-client/fhir * revert update of iam/api-client * revert update of iot/api-client/gcs_file_to_device * revert update of iot/api-client/mqtt_example * revert update of language/automl * revert update of run/image-processing * revert update of vision/automl * revert update testing/requirements.txt * revert update of vision/cloud-client/detect * revert update of vision/cloud-client/product_search * revert update of jobs/v2/api_client * revert update of jobs/v3/api_client * revert update of opencensus * revert update of translate/cloud-client * revert update to speech/cloud-client Co-authored-by: Kurtis Van Gent <31518063+kurtisvg@users.noreply.github.com> Co-authored-by: Doug Mahugh <dmahugh@gmail.com>
Commits on Jan 17, 2020
-
Delete spanner/cloud-client/bulk_load_csv. [(#2721)](GoogleCloudPlatf…
…orm/python-docs-samples#2721) This has been moved to https://github.com/cloudspannerecosystem/sampledb. Co-authored-by: Kurtis Van Gent <31518063+kurtisvg@users.noreply.github.com>
Commits on Mar 17, 2020
-
spanner: add query options versioning samples [(#3093)](GoogleCloudPl…
…atform/python-docs-samples#3093) * spanner: add query versioning samples * update test assertions * Fixed the region tags. * Removed extra whitespace. * update required spanner version Co-authored-by: larkee <larkee@users.noreply.github.com> Co-authored-by: skuruppu <skuruppu@google.com>
Commits on Mar 30, 2020
-
spanner: Add Cloud Spanner Backup samples [(#3101)](GoogleCloudPlatfo…
…rm/python-docs-samples#3101) * add backup samples * update required spanner version * fix lint errors * run backup samples tests against a new instance * fix lint * wait for instance creation to complete * Apply suggestions from code review Co-Authored-By: skuruppu <skuruppu@google.com> * add list_backups test * fix lint * add missing newline character in assert * update samples to be consistent with other languages * lint fix * add pagination sample * reorder tests Co-authored-by: larkee <larkee@users.noreply.github.com> Co-authored-by: skuruppu <skuruppu@google.com>
Commits on Apr 2, 2020
-
Simplify noxfile setup. [(#2806)](GoogleCloudPlatform/python-docs-sam…
…ples#2806) * chore(deps): update dependency requests to v2.23.0 * Simplify noxfile and add version control. * Configure appengine/standard to only test Python 2.7. * Update Kokokro configs to match noxfile. * Add requirements-test to each folder. * Remove Py2 versions from everything execept appengine/standard. * Remove conftest.py. * Remove appengine/standard/conftest.py * Remove 'no-sucess-flaky-report' from pytest.ini. * Add GAE SDK back to appengine/standard tests. * Fix typo. * Roll pytest to python 2 version. * Add a bunch of testing requirements. * Remove typo. * Add appengine lib directory back in. * Add some additional requirements. * Fix issue with flake8 args. * Even more requirements. * Readd appengine conftest.py. * Add a few more requirements. * Even more Appengine requirements. * Add webtest for appengine/standard/mailgun. * Add some additional requirements. * Add workaround for issue with mailjet-rest. * Add responses for appengine/standard/mailjet. Co-authored-by: Renovate Bot <bot@renovateapp.com>
Commits on Apr 13, 2020
-
Update dependency google-cloud-spanner to v1.15.1 [(#3377)](GoogleClo…
…udPlatform/python-docs-samples#3377) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [google-cloud-spanner](https://togithub.com/googleapis/python-spanner) | patch | `==1.15.0` -> `==1.15.1` | --- ### Release Notes <details> <summary>googleapis/python-spanner</summary> ### [`v1.15.1`](https://togithub.com/googleapis/python-spanner/blob/master/CHANGELOG.md#​1151-httpswwwgithubcomgoogleapispython-spannercomparev1150v1151-2020-04-08) [Compare Source](https://togithub.com/googleapis/python-spanner/compare/v1.15.0...v1.15.1) </details> --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Never, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#GoogleCloudPlatform/python-docs-samples).
Commits on Apr 23, 2020
-
[spanner] fix: bump the timeout for instance creation [(#3468)](Googl…
…eCloudPlatform/python-docs-samples#3468) fixes #3466
Takashi Matsuo committedApr 23, 2020
Commits on Apr 25, 2020
-
[spanner] fix: set timeout for polling on operations [(#3488)](Google…
…CloudPlatform/python-docs-samples#3488) * [spanner] fix: set timeout for polling on operations fixes #3471 * bump the deadline to 1200 for backup and restore * bumped the deadline to 120
Takashi Matsuo committedApr 25, 2020
Commits on Apr 28, 2020
-
fix: use DELETE FROM for consistency [(#3498)](GoogleCloudPlatform/py…
…thon-docs-samples#3498) Being consistent with [docs](https://cloud.google.com/spanner/docs/dml-syntax#delete_examples). Co-authored-by: gcf-merge-on-green[bot] <60162190+gcf-merge-on-green[bot]@users.noreply.github.com> Co-authored-by: Takashi Matsuo <tmatsuo@google.com>
Commits on May 5, 2020
-
chore: pin new release [(#3688)](GoogleCloudPlatform/python-docs-samp…
…les#3688) Co-authored-by: larkee <larkee@users.noreply.github.com>
Commits on May 13, 2020
-
chore: some lint fixes [(#3749)](GoogleCloudPlatform/python-docs-samp…
Takashi Matsuo committedMay 13, 2020
Commits on May 27, 2020
Commits on Jun 3, 2020
-
Improve Spanner delete_data sample coverage [(#3922)](GoogleCloudPlat…
…form/python-docs-samples#3922) * improve Spanner delete_data sample coverage * specify end to stay consistent with other languages Co-authored-by: larkee <larkee@users.noreply.github.com>
Commits on Jun 25, 2020
-
chore(deps): update dependency google-cloud-spanner to v1.17.1 [(#416…
…0)](GoogleCloudPlatform/python-docs-samples#4160) Co-authored-by: Takashi Matsuo <tmatsuo@google.com>
Commits on Jun 29, 2020
-
fix(spanner): use uuid for unique id [(#4198)](GoogleCloudPlatform/py…
…thon-docs-samples#4198) fixes #4197 (possibly)
Takashi Matsuo committedJun 29, 2020
Commits on Jul 6, 2020
-
feat(spanner): add sample for create instance [(#4230)](GoogleCloudPl…
…atform/python-docs-samples#4230) Co-authored-by: larkee <larkee@users.noreply.github.com> Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com>
Commits on Jul 12, 2020
-
chore(deps): update dependency pytest to v5.4.3 [(#4279)](GoogleCloud…
…Platform/python-docs-samples#4279) * chore(deps): update dependency pytest to v5.4.3 * specify pytest for python 2 in appengine Co-authored-by: Leah Cole <coleleah@google.com>
Commits on Jul 13, 2020
-
chore(deps): update dependency mock to v4 [(#4287)](GoogleCloudPlatfo…
…rm/python-docs-samples#4287) * chore(deps): update dependency mock to v4 * specify mock version for appengine python 2 Co-authored-by: Leah Cole <coleleah@google.com>
-
test(spanner): add sleep to fix flaky test [(#4289)](GoogleCloudPlatf…
…orm/python-docs-samples#4289) Co-authored-by: larkee <larkee@users.noreply.github.com>