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-datatransfer by dizcology · Pull Request #10259 · GoogleCloudPlatform/python-docs-samples

Conversation

@dizcology

@dizcology dizcology commented Jun 16, 2023

Copy link
Copy Markdown
Member
  • BigQuery: Add Data Transfer Service quickstart. (#1295)
  • Auto-update dependencies. (#1377)
  • bigquery_datatransfer -> bigquerydatatransfer
  • Auto-update dependencies. (#1846)
  • Auto-update dependencies. (#1980)
  • Adds updates including compute (#2436)
  • chore(deps): update dependency google-cloud-bigquery-datatransfer to v1 (#3208)
  • Simplify noxfile setup. (#2806)
  • Replace GCLOUD_PROJECT with GOOGLE_CLOUD_PROJECT. (#4022)
  • chore(deps): update dependency google-cloud-bigquery-datatransfer to v1.1.0 (#4215)
  • chore(deps): update dependency pytest to v5.4.3 (#4279)
  • chore(deps): update dependency mock to v4 (#4287)
  • Update dependency pytest to v6 (#4390)
  • chore(deps): update dependency google-cloud-bigquery-datatransfer to v1.1.1 (Add storagetransfer samples #55)
  • chore: transition the library to microgenerator (modify the url link address in README.md #56)
  • chore: Adjust gapic namespace to google.cloud.bigquery_datatransfer (Change "Datstore" to "Datastore" #61)
  • chore(deps): update dependency google-cloud-bigquery-datatransfer to v2 (Add quick start sample. #59)
  • docs: add sample for dataset copy (Organizing all app engine samples under appengine #76)
  • chore(deps): update dependency google-cloud-bigquery-datatransfer to v3 (Various cleanups #81)
  • docs: remove out-of-date sample from README (All console-runnable samples should use better main pattern. #80)
  • docs: add scheduled query samples (Switching app engine tests to webtest and consolidating testing utils… #83)
  • chore(deps): update dependency google-cloud-bigquery-datatransfer to v3.0.1 (Bring appengine/cloudsql up to standards #111)
  • chore(deps): update dependency google-cloud-bigquery-datatransfer to v3.1.0 (Bringing namespace samples up to standards #120)
  • chore(deps): update dependency google-cloud-bigquery-datatransfer to v3.1.1 (Update sample to use native sdk functionality. #127)
  • chore(deps): update dependency pytest to v6.2.3 (Cleanup App Engine readmes, deployment instructions, and module-level docstrings. #137)
  • chore(deps): update dependency mock to v4.0.3 (insertId is within the row, not the request. #135)
  • chore(deps): update dependency google-cloud-bigquery to v2.16.0 (BiqQuery Streaming Insert example is different from official documentation #134)
  • chore(deps): update dependency pytest to v6.2.4 (Unpin tox #147)
  • chore(deps): update dependency google-cloud-bigquery to v2.20.0 (Updated Managed VMs custom sample with new runtime #154)
  • chore(deps): update dependency google-cloud-bigquery-datatransfer to v3.2.0 (datastore/api/tasks.py delete_command calls mark_done #168)
  • docs: add sample to include run notification (Update sendgrid #173)
  • chore: use gapic-generator-python 0.50.4 (Adding missing requirements.txt #174)
  • chore(deps): update dependency google-cloud-pubsub to v2.6.1 (Add requirements-dev to reqcheck #175)
  • chore(deps): update dependency google-cloud-bigquery-datatransfer to v3.3.0 (Canary #176)
  • feat: add Samples section to CONTRIBUTING.rst (managed_vms/mailgun needs tests #181)
  • chore(deps): update dependency google-cloud-bigquery to v2.22.1 (Moving mvm samples to runtime: python #177)
  • chore(deps): update dependency google-cloud-bigquery-datatransfer to v3.3.1 (Removing reqcheck from travis tests #188)
  • chore(deps): update dependency google-cloud-bigquery to v2.23.0 (Moving mvm samples to use py.test #189)
  • chore(deps): update dependency google-cloud-bigquery to v2.23.1 (Moving monitoring samples to py.test #191)
  • chore(deps): update dependency google-cloud-pubsub to v2.7.0 (Moving storage samples to py.test #190)
  • chore(deps): update dependency google-cloud-bigquery to v2.23.2 (Moving compute engine samples to py.test #193)
  • chore(deps): update dependency google-cloud-bigquery to v2.24.0 (Moving blog samples to py.test #195)
  • chore(deps): update dependency google-cloud-pubsub to v2.7.1 (Add Custom Metric Examples #204)
  • chore(deps): update dependency google-cloud-bigquery to v2.25.1 (Adding bigquery installed app auth sample. #203)
  • chore(deps): update dependency pytest to v6.2.5 (Remove database settings #210)
  • chore(deps): update dependency google-cloud-bigquery-datatransfer to v3.3.2 (Managed VMs flask samples should have an error handler #212)
  • chore(deps): update dependency google-cloud-bigquery to v2.25.2 (Moving cloudsql sample to Cloud SQL proxy #213)
  • chore(deps): update dependency google-cloud-bigquery to v2.26.0 (Updating requirements. #216)
  • chore(deps): update dependency google-cloud-pubsub to v2.8.0 (Typo fix in samples/datastore/api/tasks.py #218)
  • chore(deps): update all dependencies (Remove hardcoded sub-project from monitoring tests #224)
  • chore(deps): update dependency google-cloud-bigquery to v2.27.1 (Update requirements #225)
  • chore(deps): update dependency google-cloud-bigquery to v2.28.0 (Monitoring tests are flaky #229)
  • chore(deps): update all dependencies (Cloud Speech API samples #231)
  • chore(deps): update dependency google-cloud-bigquery to v2.29.0 (Update cloud speech scope #240)
  • chore(deps): update dependency google-cloud-bigquery-datatransfer to v3.4.1 (Fix minor typo in custom_metric.py #243)
  • chore(deps): update dependency google-cloud-bigquery to v2.30.0 (speechrest -> speech_rest, update README to include speech_streaming #245)
  • chore(deps): update dependency google-cloud-bigquery to v2.30.1 (Speech api streaming sample doesn't support python 3 #246)
  • chore(deps): update dependency google-cloud-pubsub to v2.9.0 (Use gcloud 0.12.0 for Datastore samples so they use v1beta3. #249)
  • chore(deps): update dependency google-cloud-bigquery to v2.31.0 (Fix minor typo: appengine/ndb/modeling/README.md #256)
  • chore(deps): update dependency google-cloud-bigquery to v2.32.0 (create_custom_metric() shouldn't send "name" #269)
  • chore(deps): update dependency google-cloud-bigquery-datatransfer to v3.5.0 (Add Error Reporting Code #272)
  • chore(deps): update dependency pytest to v7 (Add snippets for ndb cache doc #282)
  • chore(deps): update dependency pytest to v7.0.1 (Typo in Speech API README.md #284)
  • chore(deps): update all dependencies (Channel code samples for python #285)
  • chore(deps): update all dependencies (Add Memcache Best Practices Samples #294)
  • chore(deps): update dependency google-cloud-pubsub to v2.10.0 (Add mail samples. #299)
  • chore(deps): update all dependencies (Add mail samples. #301)
  • chore(deps): update dependency google-cloud-pubsub to v2.11.0 (Add missing -r flag to pip install. #302)
  • chore(deps): update dependency pytest to v7.1.0 (managed_vms/endpoints: fix lint errors #305)
  • chore(deps): update dependency pytest to v7.1.1 (Add Missing XMPP Snippet  #306)
  • chore(python): use black==22.3.0 (Problem running endpoints oauth client #310)
  • chore(deps): update dependency google-cloud-bigquery to v2.34.3 (Add samples for ndb async ops. #311)
  • chore(deps): update dependency google-cloud-bigquery to v3 (Add Dataproc Sample #314)
  • chore(deps): update dependency google-cloud-pubsub to v2.12.0 (Adding sample of how to use requests with GAE standard #320)
  • chore(python): add nox session to sort python imports (Change app to listen on 8081 #326)
  • chore(deps): update dependency pytest to v7.1.2 (managed_vms -> flexible rename #329)
  • chore(deps): update dependency google-cloud-bigquery to v3.1.0 (Update main.py #334)
  • chore(deps): update dependency google-cloud-pubsub to v2.12.1 (update reqs #335)
  • chore(deps): update all dependencies (Adding tests for the twilio sample. Fixes #183 #354)
  • chore(deps): update all dependencies (Adding GAE standard hello world sample #370)
  • chore(deps): update all dependencies (missing Python namespace example #372)
  • chore(deps): update dependency google-cloud-pubsub to v2.13.5 (speech_streaming.py got an error on a Raspberry Pi #374)
  • chore(deps): update dependency google-cloud-pubsub to v2.13.6 (Close HappyBase connection in bigtable/hello sample. #377)
  • chore(deps): update dependency google-cloud-bigquery-datatransfer to v3.7.1 (Segmentation Fault inside (probably) make_channel #379)
  • chore(deps): update dependency google-cloud-bigquery to v3.3.2 (Add region tag #380)
  • chore(deps): update dependency pytest to v7.1.3 (Don't decrypt on PRs #389)
  • chore(deps): update all dependencies (Mark tests that require creds #395)
  • chore(deps): update dependency google-cloud-bigquery-datatransfer to v3.7.2 (Changing cloud speech code samples to work with v1beta1 #399)
  • chore(deps): update all dependencies (Adding async sample code to cloud speech. #402)
  • chore(deps): update dependency pytest to v7.2.0 (speech_streaming tests do not pass #403)
  • chore(deps): update all dependencies (Adds option to set the file format for export jobs #405)
  • chore(deps): update dependency google-cloud-bigquery to v3.4.1 (Documentation fix #413)
  • chore(deps): update dependency google-cloud-bigquery-datatransfer to v3.8.0 (speech_streaming.py ERROR - something related to GPRC I suppose #414)
  • chore(deps): update dependency mock to v5 (Readme fixes #415)
  • chore(deps): update dependency google-cloud-bigquery-datatransfer to v3.9.0 (Renaming storage gcloud samples folder #418)
  • chore(deps): update dependency mock to v5.0.1 (Virtual env inst #420)
  • chore(deps): update dependency google-cloud-pubsub to v2.13.12 (Readme fix #423)
  • chore(deps): update dependency google-cloud-bigquery-datatransfer to v3.10.0 (Speech API not working for some files #424)
  • chore(deps): update dependency pytest to v7.2.1 (Add samples for natural language api. #425)
  • chore(deps): update dependency google-cloud-bigquery to v3.4.2 (Nl #426)
  • chore(deps): update dependency google-cloud-pubsub to v2.14.0 (Secured Read Failed - FD Shutdown error on Async GRPC request #427)
  • chore(deps): update dependency google-cloud-bigquery-datatransfer to v3.10.1 ([Speech] Error - CancellationError(code=StatusCode.CANCELLED, details="") #430)
  • chore(deps): update dependency google-cloud-bigquery to v3.5.0 (Streaming bug fixes #434)
  • chore(deps): update dependency google-cloud-pubsub to v2.14.1 (Change the way nox handles installing requirements. #438)
  • chore(deps): update all dependencies (speech stop listening after few seconds #442)
  • chore(deps): update dependency google-cloud-bigquery-datatransfer to v3.11.0 (Rename to endpoints-frameworks-v2.0 #446)
  • chore(deps): update dependency pytest to v7.2.2 (Update sample app with latest configuration #447)
  • fix: replaces deprecated snippet (UrlFetchRpcHandler error #448)
  • docs: removes deprecated sample (Test hooks #451)
  • chore(deps): update all dependencies (Add audiences to the auth method sample #452)
  • chore(deps): update all dependencies (Fixup GAE urlfetch tests #457)
  • chore(deps): update dependency google-cloud-bigquery to v3.10.0 (Auto-update dependencies. #459)
  • chore(deps): update dependency google-cloud-pubsub to v2.17.1 (Add basic README #460)
  • chore(deps): update dependency google-cloud-bigquery to v3.11.0 (New code samples for Python quickstart for Endpoints Frameworks v2 #463)
  • chore(deps): update all dependencies (edits to flexible django_cloud sql README #466)

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
@product-auto-label product-auto-label Bot added the samples Issues that are directly related to samples. label Jun 16, 2023
@google-cla

google-cla Bot commented Jun 16, 2023

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

All reactions

Sorry, something went wrong.

Uh oh!

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

@dizcology
dizcology marked this pull request as ready for review June 16, 2023 21:15
@dizcology
dizcology requested review from a team as code owners June 16, 2023 21:15
@snippet-bot

snippet-bot Bot commented Jun 16, 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 20 region tags.
  • bigquery-datatransfer/snippets/copy_dataset.py:17, tag bigquerydatatransfer_copy_dataset
  • bigquery-datatransfer/snippets/copy_dataset.py:37, tag bigquerydatatransfer_copy_dataset
  • bigquery-datatransfer/snippets/manage_transfer_configs.py:17, tag bigquerydatatransfer_list_configs
  • bigquery-datatransfer/snippets/manage_transfer_configs.py:27, tag bigquerydatatransfer_list_configs
  • bigquery-datatransfer/snippets/manage_transfer_configs.py:38, tag bigquerydatatransfer_update_config
  • bigquery-datatransfer/snippets/manage_transfer_configs.py:53, tag bigquerydatatransfer_update_config
  • bigquery-datatransfer/snippets/manage_transfer_configs.py:73, tag bigquerydatatransfer_update_credentials
  • bigquery-datatransfer/snippets/manage_transfer_configs.py:90, tag bigquerydatatransfer_update_credentials
  • bigquery-datatransfer/snippets/manage_transfer_configs.py:109, tag bigquerydatatransfer_schedule_backfill
  • bigquery-datatransfer/snippets/manage_transfer_configs.py:128, tag bigquerydatatransfer_schedule_backfill
  • bigquery-datatransfer/snippets/manage_transfer_configs.py:165, tag bigquerydatatransfer_delete_transfer
  • bigquery-datatransfer/snippets/manage_transfer_configs.py:178, tag bigquerydatatransfer_delete_transfer
  • bigquery-datatransfer/snippets/quickstart.py:21, tag bigquerydatatransfer_quickstart
  • bigquery-datatransfer/snippets/quickstart.py:32, tag bigquerydatatransfer_quickstart
  • bigquery-datatransfer/snippets/run_notification.py:19, tag bigquerydatatransfer_run_notification
  • bigquery-datatransfer/snippets/run_notification.py:26, tag bigquerydatatransfer_run_notification
  • bigquery-datatransfer/snippets/scheduled_query.py:17, tag bigquerydatatransfer_create_scheduled_query
  • bigquery-datatransfer/snippets/scheduled_query.py:18, tag bigquerydatatransfer_create_scheduled_query_with_service_account
  • bigquery-datatransfer/snippets/scheduled_query.py:41, tag bigquerydatatransfer_create_scheduled_query
  • bigquery-datatransfer/snippets/scheduled_query.py:42, tag bigquerydatatransfer_create_scheduled_query_with_service_account

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.

@kweinmeister kweinmeister mentioned this pull request Jun 17, 2023
migrate code from googleapis/python-bigquery-migration #10260
Merged
9 tasks
rsamborski
rsamborski approved these changes Jun 19, 2023
View reviewed changes

@rsamborski rsamborski left a comment

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 after addressing CODEOWNERs comment. The PR will require an admin merge due to CLA exceptions.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread .github/CODEOWNERS Resolved

Uh oh!

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

@gcf-owl-bot
gcf-owl-bot Bot requested a review from a team as a code owner June 21, 2023 15:28
tswast and others added 21 commits July 10, 2023 14:16
@tswast @dizcology
BigQuery: Add Data Transfer Service quickstart. [(#1295)](#1295)
6a382fc
* BigQuery: Add Data Transfer Service quickstart.

Client library docs:
https://googlecloudplatform.github.io/google-cloud-python/latest/bigquery_datatransfer/index.html

* Enable BigQuery Data Transfer API in test project.
* Remove project from quickstart test assertion. Don't depend on specific data sources being available.

I believe the reason the tests are failing is that the data sources
weren't allowed for the test project because the API was enabled, but
the project wasn't enrolled as described in
https://cloud.google.com/bigquery/docs/enable-transfer-service
@dpebot @dizcology
Auto-update dependencies. [(#1377)](#1377)
882c246
* Auto-update dependencies.

* Update requirements.txt
@tswast @dizcology
bigquery_datatransfer -> bigquerydatatransfer
c507243
Update region tags because we are treating BigQuery Data Transfer Service as its own product in the samples tracker.
@dpebot @dizcology
Auto-update dependencies. [(#1846)](#1846)
05b9e48
ACK, merging.
@dpebot @dizcology
Auto-update dependencies. [(#1980)](#1980)
6768a59
* Auto-update dependencies.

* Update requirements.txt

* Update requirements.txt
@gguuss @dizcology
Adds updates including compute [(#2436)](#2436)
12b237b
* Adds updates including compute

* Python 2 compat pytest

* Fixing weird \r\n issue from GH merge

* Put asset tests back in

* Re-add pod operator test

* Hack parameter for k8s pod operator
@renovate-bot @dizcology
chore(deps): update dependency google-cloud-bigquery-datatransfer to …
6d82d5b
…v1 [(#3208)](#3208)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [google-cloud-bigquery-datatransfer](https://togithub.com/googleapis/python-bigquery-datatransfer) | major | `==0.4.1` -> `==1.0.0` |

---

### Release Notes

<details>
<summary>googleapis/python-bigquery-datatransfer</summary>

### [`v1.0.0`](https://togithub.com/googleapis/python-bigquery-datatransfer/blob/master/CHANGELOG.md#&#8203;100-httpswwwgithubcomgoogleapispython-bigquery-datatransfercomparev041v100-2020-03-04)

[Compare Source](https://togithub.com/googleapis/python-bigquery-datatransfer/compare/v0.4.1...v1.0.0)

##### Features

-   **bigquerydatatransfer:** add `service_account_name` option to transfer configs ([#&#8203;10013](https://www.github.com/googleapis/python-bigquery-datatransfer/issues/10013)) ([9ca090a](https://www.github.com/googleapis/python-bigquery-datatransfer/commit/9ca090af431092bc4286fa4443dd0dc0141f6de6))
-   **bigquerydatatransfer:** undeprecate resource name helper methods; add py2 deprecation warning; bump copyright year to 2020 (via synth) ([#&#8203;10226](https://www.github.com/googleapis/python-bigquery-datatransfer/issues/10226)) ([c0f9cc3](https://www.github.com/googleapis/python-bigquery-datatransfer/commit/c0f9cc398e5558002c79a875809bb6cd1a98a8a4))
-   set release_status to production/stable ([#&#8203;15](https://www.github.com/googleapis/python-bigquery-datatransfer/issues/15)) ([a9c1160](https://www.github.com/googleapis/python-bigquery-datatransfer/commit/a9c1160475dbc327e8cc5da3b5aee3ceaa618bd3))

##### Bug Fixes

-   **bigquery_datatransfer:** deprecate resource name helper methods (via synth) ([#&#8203;9829](https://www.github.com/googleapis/python-bigquery-datatransfer/issues/9829)) ([fc06995](https://www.github.com/googleapis/python-bigquery-datatransfer/commit/fc0699549479cc3e34e217f9e588f5128107ba89))

</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).
@kurtisvg @renovate-bot @dizcology
Simplify noxfile setup. [(#2806)](#2806)
029e126
* 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 <[email protected]>
@kurtisvg @dizcology
Replace GCLOUD_PROJECT with GOOGLE_CLOUD_PROJECT. [(#4022)](#4022)
0867434
@renovate-bot @dizcology
chore(deps): update dependency google-cloud-bigquery-datatransfer to …
75e1867
…v1.1.0 [(#4215)](#4215)
@renovate-bot @leahecole @dizcology
chore(deps): update dependency pytest to v5.4.3 [(#4279)](#4279)
e3fa3c6
* chore(deps): update dependency pytest to v5.4.3

* specify pytest for python 2 in appengine

Co-authored-by: Leah Cole <[email protected]>
@renovate-bot @leahecole @dizcology
chore(deps): update dependency mock to v4 [(#4287)](#4287)
092e617
* chore(deps): update dependency mock to v4

* specify mock version for appengine python 2

Co-authored-by: Leah Cole <[email protected]>
@renovate-bot @dizcology
Update dependency pytest to v6 [(#4390)](#4390)
36a9df9
@renovate-bot @dizcology
chore(deps): update dependency google-cloud-bigquery-datatransfer to …
485189f
…v1.1.1 (#55)
@plamut @busunkim96 @dizcology
chore: transition the library to microgenerator (#56)
28ba240
* chore: remove old GAPIC code

* Regenerate the library with microgenerator

* Fix docs toctree includes

* Update Python version compatibility in README

* Adjust samples

* Fix datatransfer shim unit test

* Reduce required coverage threshold

The generated code tests do not cover all code paths after all...

* Simplify TransferConfig instantiation in sample

* Add UPGRADING guide

* Update UPGRADING.md (method name)

Co-authored-by: Bu Sun Kim <[email protected]>

Co-authored-by: Bu Sun Kim <[email protected]>
@plamut @dizcology
chore: Adjust gapic namespace to google.cloud.bigquery_datatransfer (#61
22d55fc
)

* chore: use google.cloud.bigquery_datatransfer namespace

Using google.cloud.bigquery.datatransfer turned out to be too
problematic to use with the google.cloud.bigquery library
(namespace clashes).

* Adjust code to renamed namespace

* Update UPGRADING guide with new (old) namespace
@renovate-bot @dizcology
chore(deps): update dependency google-cloud-bigquery-datatransfer to …
51195a0
…v2 (#59)
@tswast @dizcology
docs: add sample for dataset copy (#76)
c03aacc
* docs: add sample for dataset copy

* add google-cloud-bigquery to test requirements

* use relative imports to hopefully fix lint
@renovate-bot @dizcology
chore(deps): update dependency google-cloud-bigquery-datatransfer to …
cf7ed2c
…v3 (#81)

[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [google-cloud-bigquery-datatransfer](https://togithub.com/googleapis/python-bigquery-datatransfer) | major | `==2.1.0` -> `==3.0.0` |

---

### Release Notes

<details>
<summary>googleapis/python-bigquery-datatransfer</summary>

### [`v3.0.0`](https://togithub.com/googleapis/python-bigquery-datatransfer/blob/master/CHANGELOG.md#&#8203;300-httpswwwgithubcomgoogleapispython-bigquery-datatransfercomparev210v300-2020-12-09)

[Compare Source](https://togithub.com/googleapis/python-bigquery-datatransfer/compare/v2.1.0...v3.0.0)

##### ⚠ BREAKING CHANGES

-   type is renamed to type\_ to avoid conflict with built-in functions (introduced in [googleapis/gapic-generator-python#&#8203;595](https://togithub.com/googleapis/gapic-generator-python/issues/595))

##### Features

-   add common resource path helpers ([#&#8203;69](https://www.github.com/googleapis/python-bigquery-datatransfer/issues/69)) ([e0bcedb](https://www.github.com/googleapis/python-bigquery-datatransfer/commit/e0bcedb58109e38a58584d5b3087f03e1fa10835))

##### Bug Fixes

-   avoid collision with built-in functions by renaming type property to type\_ ([#&#8203;53](https://www.github.com/googleapis/python-bigquery-datatransfer/issues/53)) ([b954411](https://www.github.com/googleapis/python-bigquery-datatransfer/commit/b95441140f7c86dd3e833aef0532badd6280ef48)), closes [/github.com/googleapis/python-talent/blob/ef045e8eb348db36d7a2a611e6f26b11530d273b/samples/snippets/noxfile_config.py#L27-L32](https://www.github.com/googleapis//github.com/googleapis/python-talent/blob/ef045e8eb348db36d7a2a611e6f26b11530d273b/samples/snippets/noxfile_config.py/issues/L27-L32)

##### Documentation

-   update intersphinx links ([#&#8203;78](https://www.github.com/googleapis/python-bigquery-datatransfer/issues/78)) ([a78ba39](https://www.github.com/googleapis/python-bigquery-datatransfer/commit/a78ba39bf1507cbc9e2a51fe4553d602da7f7601))

</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**: Whenever PR becomes conflicted, 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#github/googleapis/python-bigquery-datatransfer).
@tswast @dizcology
docs: remove out-of-date sample from README (#80)
6453eaf
See samples/ directory for maintained and tested samples
@tswast @dizcology
docs: add scheduled query samples (#83)
f5693fc
* docs: add scheduled query samples

* test: opt-out of type annotations for now

* test: use environment variable for project ID

* set quota project

* consolidate config creation to conserve quota
renovate-bot and others added 23 commits July 10, 2023 14:16
@renovate-bot @dizcology
chore(deps): update dependency google-cloud-bigquery-datatransfer to …
29e8804
…v3.9.0 (#418)
@renovate-bot @dizcology
chore(deps): update dependency mock to v5.0.1 (#420)
f106a11
@renovate-bot @dizcology
chore(deps): update dependency google-cloud-pubsub to v2.13.12 (#423)
5c1b4d7
@renovate-bot @dizcology
chore(deps): update dependency google-cloud-bigquery-datatransfer to …
4c4eeba
…v3.10.0 (#424)
@renovate-bot @dizcology
chore(deps): update dependency pytest to v7.2.1 (#425)
f1d9828
@renovate-bot @dizcology
chore(deps): update dependency google-cloud-bigquery to v3.4.2 (#426)
9361eb7
@renovate-bot @parthea @dizcology
chore(deps): update dependency google-cloud-pubsub to v2.14.0 (#427)
0d3230f
Co-authored-by: Anthonios Partheniou <[email protected]>
@renovate-bot @dizcology
chore(deps): update dependency google-cloud-bigquery-datatransfer to …
70b838b
…v3.10.1 (#430)
@renovate-bot @dizcology
chore(deps): update dependency google-cloud-bigquery to v3.5.0 (#434)
f9d6ab0
@renovate-bot @dizcology
chore(deps): update dependency google-cloud-pubsub to v2.14.1 (#438)
5539146
@renovate-bot @dizcology
chore(deps): update all dependencies (#442)
df0857f
@renovate-bot @dizcology
chore(deps): update dependency google-cloud-bigquery-datatransfer to …
ddf6907
…v3.11.0 (#446)
@renovate-bot @dizcology
chore(deps): update dependency pytest to v7.2.2 (#447)
0c0924c
@chalmerlowe @dizcology
fix: replaces deprecated snippet (#448)
c901a85
* fix: replaces deprecated snippet

* adds a test

* revises test assert statement

* fix linting

* examining return values

* examining more return values

* examining return values more betterly

* evaluating timestamps in use

* evaluating timestamps in use 2

* clean up test

* clean up linting
@chalmerlowe @dizcology
docs: removes deprecated sample (#451)
2ebdd57
* docs: removes deprecated sample

* modifies tags to matched deprecated function call
@renovate-bot @dizcology
chore(deps): update all dependencies (#452)
388b960
@renovate-bot @dizcology
chore(deps): update all dependencies (#457)
eb3f9eb
@renovate-bot @dizcology
chore(deps): update dependency google-cloud-bigquery to v3.10.0 (#459)
27dc67b
@renovate-bot @parthea @dizcology
chore(deps): update dependency google-cloud-pubsub to v2.17.1 (#460)
d2f1819
Co-authored-by: Anthonios Partheniou <[email protected]>
@renovate-bot @parthea @dizcology
chore(deps): update dependency google-cloud-bigquery to v3.11.0 (#463)
25b3f2c
Co-authored-by: Anthonios Partheniou <[email protected]>
@renovate-bot @dizcology
chore(deps): update all dependencies (#466)
e4d0b71
@dizcology
skip python-3.6 in sample test
483f657
@dizcology
update .githug/CODEOWNERS
ae4686a
@dizcology
dizcology force-pushed the python-bigquery-datatransfer-migration branch from 85c62be to ae4686a Compare July 10, 2023 21:21
@dizcology

dizcology commented Jul 10, 2023

Copy link
Copy Markdown
Member Author

Updated the CODEOWNERS change to address the comment.

Next steps:
From @leahecole: "reminder for whoever merges to do "Rebase and merge" from the dropdown to preserve history!"
From @rsamborski: "The PR will require an admin merge due to CLA exceptions."

All reactions

Sorry, something went wrong.

Uh oh!

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

leahecole
leahecole approved these changes Jul 11, 2023
View reviewed changes
@leahecole

leahecole commented Jul 11, 2023

Copy link
Copy Markdown
Collaborator

CLA failure is from a xoogler and is ok

All reactions

Sorry, something went wrong.

Uh oh!

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

@leahecole
leahecole merged commit 372cf0d into main Jul 11, 2023
@leahecole
leahecole deleted the python-bigquery-datatransfer-migration branch July 11, 2023 16:59
@dizcology dizcology mentioned this pull request Jul 18, 2023
docs: remove migrated snippets googleapis/python-bigquery-datatransfer#479
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.

10 participants

@dizcology @leahecole @rsamborski @tswast @dpebot @gguuss @renovate-bot @kurtisvg @plamut @chalmerlowe
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.