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 — migrate code from googleapis/python-bigquery-connection by dizcology · Pull Request #10255 · GoogleCloudPlatform/python-docs-samples

Conversation

@dizcology

@dizcology dizcology commented Jun 15, 2023

Copy link
Copy Markdown
Member
  • docs: add python quickstart sample (Temoprarily Pin Tox Until Bug Is Fixed #141)
  • chore(deps): update dependency google-cloud-testutils to v1.3.0 (Adding auto doc links for READMEs. #143)
  • chore(deps): update dependency google-cloud-testutils to v1.3.1 (Restoring missing requirements.txt files #144)
  • chore(samples): Add check for tests in directory (Add Managed VMs Django Example #152)
  • chore(deps): update dependency google-cloud-bigquery-connection to v1.3.2 (Adding new Managed VMs samples. #156)
  • chore(python): Noxfile recognizes that tests can live in a folder (Add Django/Postgres/Redis Container Engine example #157)
  • chore(deps): update dependency pytest to v7 (Updating dependencies [DO NOT MERGE] #164)
  • chore(deps): update dependency pytest to v7.0.1 (Datastore API samples need requirements.txt #166)
  • chore(deps): update all dependencies (Provides eventual_consistent_query region tag with comment saying rea… #170)
  • chore: Adding support for pytest-xdist and pytest-parallel (Moving mvm samples to runtime: python #177)
  • chore(deps): update dependency google-cloud-bigquery-connection to v1.3.4 (managed_vms/analytics needs tests #180)
  • chore(deps): update dependency google-cloud-bigquery-connection to v1.4.0 (managed_vms/twilio needs tests #183)
  • chore(deps): update dependency pytest to v7.1.0 (Moving to py.test test runner #185)
  • chore(deps): update dependency pytest to v7.1.1 (Passing all environment variables in tox.ini #186)
  • chore(python): use black==22.3.0 (Moving mvm samples to use py.test #189)
  • docs(samples): create connection sample for MySQL instance (Unpin tox #147)
  • chore(python): add nox session to sort python imports (Adding bigquery installed app auth sample. #203)
  • fix: region tags in create_mysql_connection.py (Changing all references to apiclient -> googleapiclient. #205)
  • chore(deps): update dependency pytest to v7.1.2 (Adding a sample for extending the compat runtime. #207)
  • chore(deps): update dependency google-cloud-bigquery-connection to v1.5.0 (Fix up Django URLs #214)
  • chore(deps): update all dependencies (Add Monitoring v3 Samples #223)
  • fix: require python 3.7+ (Cloud Speech API samples #231)
  • chore(deps): update all dependencies (Add speech api streaming sample. #239)
  • chore(deps): update all dependencies (Fix property name in projection_query #241)
  • chore(deps): update dependency google-cloud-bigquery-connection to v1.7.1 (Speech api streaming sample doesn't support python 3 #246)
  • chore(deps): update dependency pytest to v7.1.3 (Fix minor typo: appengine/ndb/modeling/README.md #256)
  • chore: detect samples tests in nested directories (Missed some ndb snippets #260)
  • chore(deps): update dependency google-cloud-bigquery-connection to v1.7.2 (Minor Sendgrid fixup #264)
  • chore(deps): update dependency google-cloud-bigquery-connection to v1.7.3 (Add UrlFetch Example #267)
  • chore(deps): update dependency pytest to v7.2.0 (create_custom_metric() shouldn't send "name" #269)
  • chore(python): drop flake8-import-order in samples noxfile (Adding compute auth examples #275)
  • chore(deps): update dependency google-cloud-bigquery-connection to v1.8.0 (Updating requirements. #278)
  • chore(python): add support for python 3.11 (Adding compute engine private key generation sample. #279)
  • chore(deps): update dependency google-cloud-bigquery-connection to v1.9.0 (Add snippets for ndb cache doc #282)
  • chore(deps): update dependency pytest to v7.2.1 (gcp-python-repo-tools installation fails. #283)
  • chore(deps): update dependency google-cloud-bigquery-connection to v1.9.1 (Adding error handlers to all managed vms samples. #286)
  • feat: enable "rest" transport in Python for services supporting numeric enums (Add Memcache Best Practices Samples #294)
  • chore(deps): update dependency google-cloud-bigquery-connection to v1.10.0 (Adding search snippets #298)
  • chore(deps): update dependency google-cloud-bigquery-connection to v1.11.0 (Fix README link and region tag #300)
  • chore(deps): update dependency pytest to v7.2.2 (Add mail samples. #301)
  • chore(deps): update dependency google-cloud-bigquery-connection to v1.12.0 (Fix doc tags. #308)
  • chore(deps): update dependency pytest to v7.3.0 (Sample fixup #309)
  • chore(deps): update dependency pytest to v7.3.1 (Problem running endpoints oauth client #310)
  • chore(deps): update dependency pytest to v7.3.2 (Add more region tags #315)

Description

Fixes #

Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.

Checklist

  • I have followed Sample Guidelines from AUTHORING_GUIDE.MD
  • README is updated to include all relevant information
  • Tests pass: nox -s py-3.9 (see Test Environment Setup)
  • Lint pass: nox -s lint (see Test Environment Setup)
  • These samples need a new API enabled in testing projects to pass (let us know which ones)
  • These samples need a new/updated env vars in testing projects set to pass (let us know which ones)
  • This sample adds a new sample directory, and I updated the CODEOWNERS file with the codeowners for this sample
  • This sample adds a new Product API, and I updated the Blunderbuss issue/PR auto-assigner with the codeowners for this sample
  • Please merge this PR for me once it is approved

Sorry, something went wrong.

Uh oh!

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

All reactions
loferris and others added 30 commits December 1, 2021 11:23
@loferris @gcf-owl-bot @tswast
docs: add python quickstart sample (#141)
d1b575f
* initial boilerplate for samples folder

* basic test and nox setup

* quickstart sample added

* sample and test

* updating test features

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* updated region tags

* removed CLI from sample and moved client creation out of main()

* Update samples/snippets/quickstart.py

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Tim Swast <[email protected]>
@renovate-bot
chore(deps): update dependency google-cloud-testutils to v1.3.0 (#143)
9ceb033
@renovate-bot @parthea
chore(deps): update dependency google-cloud-testutils to v1.3.1 (#144)
d756eae
Co-authored-by: Anthonios Partheniou <[email protected]>
@gcf-owl-bot
chore(samples): Add check for tests in directory (#152)
3cf1477
Source-Link: googleapis/synthtool@52aef91
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:36a95b8f494e4674dc9eee9af98961293b51b86b3649942aac800ae6c1f796d4

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@renovate-bot
chore(deps): update dependency google-cloud-bigquery-connection to v1…
757e145
….3.2 (#156)
@gcf-owl-bot
chore(python): Noxfile recognizes that tests can live in a folder (#157)
7428be9
Source-Link: googleapis/synthtool@4760d8d
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:f0e4b51deef56bed74d3e2359c583fc104a8d6367da3984fc5c66938db738828

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@renovate-bot
chore(deps): update dependency pytest to v7 (#164)
cf3202c
@renovate-bot
chore(deps): update dependency pytest to v7.0.1 (#166)
0b41a2d
@renovate-bot @gcf-owl-bot
chore(deps): update all dependencies (#170)
ebb68e1
* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@gcf-owl-bot @parthea
chore: Adding support for pytest-xdist and pytest-parallel (#177)
bf9e5fe
Source-Link: googleapis/synthtool@82f5cb2
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:5d8da01438ece4021d135433f2cf3227aa39ef0eaccc941d62aa35e6902832ae

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <[email protected]>
@renovate-bot
chore(deps): update dependency google-cloud-bigquery-connection to v1…
c30570b
….3.4 (#180)
@renovate-bot
chore(deps): update dependency google-cloud-bigquery-connection to v1…
770e5ff
….4.0 (#183)
@renovate-bot
chore(deps): update dependency pytest to v7.1.0 (#185)
ca249de
@renovate-bot
chore(deps): update dependency pytest to v7.1.1 (#186)
e269132
@gcf-owl-bot
chore(python): use black==22.3.0 (#189)
153d88f
Source-Link: googleapis/synthtool@6fab84a
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:7cffbc10910c3ab1b852c05114a08d374c195a81cdec1d4a67a1d129331d0bfe
@loferris @parthea
@meredithslota @gcf-owl-bot
docs(samples): create connection sample for MySQL instance (#147)
b068ebd
* setup for cloudsql connection sample

* fleshed out sample

* complete sample

* changing region tag pattern

* adding new environment variables

* adding missing env variable

* fixing fixture with correct env variable

* refactor

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* refactor test imports

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* kokoro lint errors

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* changing fixture use

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* refactoring variables

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* fixing imports

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* changing fixture syntax

* fixing import

* fixing typecasting

* updating fixture usage

* changing fixtures

* refactor fixtures

Co-authored-by: Anthonios Partheniou <[email protected]>
Co-authored-by: meredithslota <[email protected]>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@gcf-owl-bot
chore(python): add nox session to sort python imports (#203)
091e8ec
Source-Link: googleapis/synthtool@1b71c10
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:00c9d764fd1cd56265f12a5ef4b99a0c9e87cf261018099141e2ca5158890416

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@loferris @parthea
fix: region tags in create_mysql_connection.py (#205)
01546ab
Co-authored-by: Anthonios Partheniou <[email protected]>
@renovate-bot
chore(deps): update dependency pytest to v7.1.2 (#207)
88f872c
@renovate-bot
chore(deps): update dependency google-cloud-bigquery-connection to v1…
ec5e62b
….5.0 (#214)
@renovate-bot @parthea
chore(deps): update all dependencies (#223)
e3de096
* chore(deps): update all dependencies

* revert protobuf

Co-authored-by: Anthonios Partheniou <[email protected]>
@gcf-owl-bot @parthea
fix: require python 3.7+ (#231)
fd34793
* chore(python): drop python 3.6

Source-Link: googleapis/synthtool@4f89b13
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:e7bb19d47c13839fe8c147e50e02e8b6cf5da8edd1af8b82208cd6f66cc2829c

* require python 3.7+ in setup.py

* remove python 3.6 sample configs

* add api_description to .repo-metadata.json

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <[email protected]>
@renovate-bot @gcf-owl-bot @parthea
chore(deps): update all dependencies (#239)
16db731
* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* revert

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <[email protected]>
@renovate-bot @gcf-owl-bot @parthea
chore(deps): update all dependencies (#241)
87c8be0
* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* revert

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <[email protected]>
@renovate-bot
chore(deps): update dependency google-cloud-bigquery-connection to v1…
37b7653
….7.1 (#246)
@renovate-bot
chore(deps): update dependency pytest to v7.1.3 (#256)
407dbc4
@gcf-owl-bot
chore: detect samples tests in nested directories (#260)
e3e3926
Source-Link: googleapis/synthtool@50db768
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:e09366bdf0fd9c8976592988390b24d53583dd9f002d476934da43725adbb978
@renovate-bot
chore(deps): update dependency google-cloud-bigquery-connection to v1…
5a28647
….7.2 (#264)
@renovate-bot
chore(deps): update dependency google-cloud-bigquery-connection to v1…
b3f0ada
….7.3 (#267)
@renovate-bot
chore(deps): update dependency pytest to v7.2.0 (#269)
6a3233e
gcf-owl-bot Bot and others added 15 commits November 26, 2022 19:12
@gcf-owl-bot
chore(python): drop flake8-import-order in samples noxfile (#275)
1f86bba
Source-Link: googleapis/synthtool@6ed3a83
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:3abfa0f1886adaf0b83f07cb117b24a639ea1cb9cffe56d43280b977033563eb

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@renovate-bot
chore(deps): update dependency google-cloud-bigquery-connection to v1…
6baccd1
….8.0 (#278)
@gcf-owl-bot
chore(python): add support for python 3.11 (#279)
d45497f
Source-Link: googleapis/synthtool@7197a00
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:c43f1d918bcf817d337aa29ff833439494a158a0831508fda4ec75dc4c0d0320

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@renovate-bot
chore(deps): update dependency google-cloud-bigquery-connection to v1…
b2a0051
….9.0 (#282)
@renovate-bot
chore(deps): update dependency pytest to v7.2.1 (#283)
d1e5fd5
@renovate-bot @parthea
chore(deps): update dependency google-cloud-bigquery-connection to v1…
c4e044c
….9.1 (#286)

Co-authored-by: Anthonios Partheniou <[email protected]>
@gcf-owl-bot @parthea
feat: enable "rest" transport in Python for services supporting numer…
3e292a4
…ic enums (#294)

* feat: enable "rest" transport in Python for services supporting numeric enums

PiperOrigin-RevId: 508143576

Source-Link: googleapis/googleapis@7a702a9

Source-Link: https://github.com/googleapis/googleapis-gen/commit/6ad1279c0e7aa787ac6b66c9fd4a210692edffcd
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNmFkMTI3OWMwZTdhYTc4N2FjNmI2NmM5ZmQ0YTIxMDY5MmVkZmZjZCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* use REST transport in samples/tests

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* revert changes to fixtures

* revert

* revert

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <[email protected]>
@renovate-bot @parthea
chore(deps): update dependency google-cloud-bigquery-connection to v1…
bb8f52b
….10.0 (#298)

Co-authored-by: Anthonios Partheniou <[email protected]>
@renovate-bot
chore(deps): update dependency google-cloud-bigquery-connection to v1…
1fa5e32
….11.0 (#300)
@renovate-bot
chore(deps): update dependency pytest to v7.2.2 (#301)
ff09d7a
@renovate-bot
chore(deps): update dependency google-cloud-bigquery-connection to v1…
2a7932b
….12.0 (#308)
@renovate-bot
chore(deps): update dependency pytest to v7.3.0 (#309)
a827e5f
@renovate-bot
chore(deps): update dependency pytest to v7.3.1 (#310)
4c171b0
@renovate-bot
chore(deps): update dependency pytest to v7.3.2 (#315)
301dc84
@dizcology
Merge remote-tracking branch 'migration/main' into python-bigquery-co…
58e89fe
…nnection-migration
@product-auto-label product-auto-label Bot added the samples Issues that are directly related to samples. label Jun 15, 2023
dizcology added 2 commits June 15, 2023 13:32
@dizcology
remove snippet/noxfile.py and omit python 3.6 in noxfile_config.py
770059c
@dizcology
update .github/CODEOWNERS and blunderbuss.yml
f498581
@dizcology
dizcology marked this pull request as ready for review June 15, 2023 22:19
@dizcology
dizcology requested review from a team as code owners June 15, 2023 22:19
@snippet-bot

snippet-bot Bot commented Jun 15, 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 2 region tags.
  • bigquery-connection/snippets/create_mysql_connection.py:15, tag bigqueryconnection_create_connection
  • bigquery-connection/snippets/quickstart.py:15, tag bigqueryconnection_quickstart

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.

rsamborski
rsamborski approved these changes Jun 16, 2023
View reviewed changes

@rsamborski rsamborski left a comment •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

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.

Approved. To retain the history please remember to use regular merge instead of automerge or squash and merge

Sorry, something went wrong.

Uh oh!

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

All reactions
leahecole
leahecole approved these changes Jun 16, 2023
View reviewed changes
@leahecole
leahecole merged commit 61f4034 into main Jun 16, 2023
@leahecole
leahecole deleted the python-bigquery-connection-migration branch June 16, 2023 14:04
@leahecole

leahecole commented Jun 16, 2023

Copy link
Copy Markdown
Collaborator

Thanks for the reminder, @rsamborski!

All reactions

Sorry, something went wrong.

Uh oh!

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

@dizcology dizcology mentioned this pull request Jul 18, 2023
chore: remove migrated snippets googleapis/python-bigquery-connection#331
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@rsamborski rsamborski rsamborski approved these changes
@leahecole leahecole leahecole approved these changes

Uh oh!

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

Assignees

No one assigned

Labels

samples Issues that are directly related to samples.

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.

5 participants

@dizcology @leahecole @rsamborski @loferris @renovate-bot
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.