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

migrate code from googleapis/python-automl #8528

Merged
merged 158 commits into from
Nov 17, 2022
Merged

Conversation

arbrown
Copy link
Contributor

@arbrown arbrown commented Nov 17, 2022

Description

Fixes #

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

Checklist

nnegrey and others added 30 commits August 11, 2020 09:58
* automl: add base model samples for automl ga

* Add tests for each file, provide a unique model for each python version for kokoro

* Fix version check

* Update tests and format

* Update deploy_model_test.py

* Update license headers, ensure double quotes is used everywhere, leave black formatting
* automl: add vision classification samples for automl ga

* lint

* naming

* clean up samples and test

* lint

* Consistently use double quotes

* Move test imports to top of file

* Fix license year

* license year 2020, drop python2 unicode print
* automl: add translate ga samples

* While still testing python2 on kokoro, use unicode print for non-ascii strings

Co-authored-by: Leah E. Cole <[email protected]>
…2677)

* automl: add natural language sentiment analysis ga samples

* Add links to documentation

* Update tests to use centralized project

* Fix environment variable, make translate test less flaky
* automl: add base dataset samples for automl ga

* Use a unique prefix

* Move test imports to top / misc feedback cleanup

* Update tests

* Use centralized testing project for automl resources

* Test fix

* Consistently use double quotes

* License year 2020

* Use a fake dataset to fix the flaky test as only one operation can work at a time

* use centralized automl testing project

* use different automl product to import data
…2678)

* automl: add natural language text classification ga samples

* use centralized automl testing project, update doc comments, update test method names
…2676)

* automl: add natural language entity extraction ga samples

* Update language_entity_extraction_predict_test.py

* Update language_entity_extraction_predict_test.py

* use centralized automl testing project and add comments that link to docs
…2614)

* automl: add vision object detection samples for atuoml ga

* Update tests

* update test resource file used

* Consistently use double quotes

* Move test imports to top of file

* license year 2020

* Use centralized testing project for automl, improve comment with links to docs

Co-authored-by: Leah E. Cole <[email protected]>
* automl: add base samples

* automl: add base set of samples

* Clean up tests

* License year 2020, drop python2 print statement unicode

* use centralized automl testing project

* Fix GCS path typo

* Use fake dataset for batch predict

* lint: line length

* fix fixture naming and use

* Fix fixture changes

* Catch resource exhausted error

* use fake data for import test

* update how to access an operation id

Co-authored-by: Leah E. Cole <[email protected]>
…](#3046)

* chore(deps): update dependency google-cloud-storage to v1.26.0

* chore(deps): specify dependencies by python version

* chore: up other deps to try to remove errors

Co-authored-by: Leah E. Cole <[email protected]>
Co-authored-by: Leah Cole <[email protected]>
* 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]>
…3492)

fixes #3415

Also setting a hard deadline for model deployment.
…](#3785)

* chore(deps): update dependency google-cloud-storage to v1.28.1

* [asset] testing: use uuid instead of time

Co-authored-by: Takashi Matsuo <[email protected]>
)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [google-cloud-automl](https://togithub.com/googleapis/python-automl) | major | `==0.10.0` -> `==1.0.1` |

---

### Release Notes

<details>
<summary>googleapis/python-automl</summary>

### [`v1.0.1`](https://togithub.com/googleapis/python-automl/blob/master/CHANGELOG.md#&#8203;101-httpswwwgithubcomgoogleapispython-automlcomparev100v101-2020-06-18)

[Compare Source](https://togithub.com/googleapis/python-automl/compare/v0.10.0...v1.0.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).
* chore(deps): update dependency pytest to v5.4.3

* specify pytest for python 2 in appengine

Co-authored-by: Leah Cole <[email protected]>
* Add Set Endpoint Samples

* Add additional test result option

* Sample Request update

* Add filter_
* 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 <[email protected]>
Co-authored-by: Doug Mahugh <[email protected]>
…2754)

* automl: video beta move model samples from branch to master

* Fix region tag

Co-authored-by: Leah E. Cole <[email protected]>
)

* automl: move video object tracking samples out of branch

* fix uuid and create test

* fix project

* use global var for testing

* Update video_object_tracking_create_model_test.py
…#2750)](#2750)

* automl: video beta - move beta samples out of branch and into master

* lint

* update error message on batch predict

Co-authored-by: Leah E. Cole <[email protected]>
* automl: video beta samples move from branch to master

* fix test for when create dataset doesn't return an LRO

Co-authored-by: Leah E. Cole <[email protected]>
Co-authored-by: Bu Sun Kim <[email protected]>
Co-authored-by: gcf-merge-on-green[bot] <60162190+gcf-merge-on-green[bot]@users.noreply.github.com>
renovate-bot and others added 12 commits July 19, 2022 11:52
* 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]>
* 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]>
* 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]>
Source-Link: googleapis/synthtool@50db768
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:e09366bdf0fd9c8976592988390b24d53583dd9f002d476934da43725adbb978
@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Nov 17, 2022
@google-cla
Copy link

google-cla bot commented Nov 17, 2022

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.

@arbrown arbrown requested a review from dandhlee November 17, 2022 21:42
@arbrown arbrown marked this pull request as ready for review November 17, 2022 21:52
@arbrown arbrown requested review from a team as code owners November 17, 2022 21:52
@snippet-bot
Copy link

snippet-bot bot commented Nov 17, 2022

Here is the summary of changes.

You are about to add 113 region tags.

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

.github/blunderbuss.yml Outdated Show resolved Hide resolved
.github/header-checker-lint.yml Outdated Show resolved Hide resolved
Copy link
Collaborator

@dandhlee dandhlee left a comment

Choose a reason for hiding this comment

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

🚀

@dandhlee dandhlee merged commit 63a2f5f into main Nov 17, 2022
@dandhlee dandhlee deleted the python-automl-migration branch November 17, 2022 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.