-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
Added export format option #45
Conversation
@@ -30,6 +31,8 @@ def export_table(service, cloud_storage_path, | |||
cloud_storage_path: fully qualified | |||
path to a Google Cloud Storage location, | |||
e.g. gs://mybucket/myfolder/ | |||
export_format: format to export in; | |||
"CSV", "NEWLINE_DELIMITED_JSON", or "AVRO". |
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.
nit
I think it is normal to indent the continuation in the argument section. Also capitalize the first letter of each section and add period instead of comma at the end of the section.
def export_table(service, cloud_storage_path, projectId, datasetId, tableId,
num_retries=5):
"""
Starts an export job
Args:
service: Initialized and authorized bigquery google-api-client object.
cloud_storage_path: Fully qualified path to a Google Cloud Storage
location (e.g. gs://mybucket/myfolder/).
Returns: An extract job resource representing the job. See
https://cloud.google.com/bigquery/docs/reference/v2/jobs
"""
pass
@elibixby |
path to a Google Cloud Storage location, | ||
e.g. gs://mybucket/myfolder/ | ||
export_format: format to export in; | ||
"CSV", "NEWLINE_DELIMITED_JSON", or "AVRO". | ||
|
||
Returns: an extract job resource representing the | ||
job, see https://cloud.google.com/bigquery/docs/reference/v2/jobs |
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.
The docstring still has wrong indentations.
It should be as follows:
def export_table(service, cloud_storage_path,
projectId, datasetId, tableId,
export_format="CSV",
num_retries=5):
"""
Starts an export job.
Args:
service: Initialized and authorized bigquery
google-api-client object.
cloud_storage_path: Fully qualified
path to a Google Cloud Storage location.
e.g. gs://mybucket/myfolder/
export_format: Format to export in;
"CSV", "NEWLINE_DELIMITED_JSON", or "AVRO".
Returns: An extract job resource representing the
job, see https://cloud.google.com/bigquery/docs/reference/v2/jobs
"""
- Use period at the end of the clause
- Use capitalized first letter
- Correct indentation (continuation line should have deeper indent, for example, the second line for the "service" argument should have deeper indentation)
Woops fixed silly indentation errors. |
@@ -22,14 +22,32 @@ | |||
|
|||
class TestExportTableToGCS(CloudBaseTest): | |||
|
|||
def test_export_table(self): | |||
def test_export_table_csv(self): |
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.
These tests only check if the run() succeeds.
Is it possible to mock the client and check if the right RPCs are made?
@elibixby |
ehhh. I did write the original tests I think. Writing better tests for all the bigquery stuff is on my ToDo list. However this merge is needed for some docs updates, and at least doesn't lower the quality of testing in the repo. Thoughts? |
LGTM |
Add #48 Merging |
* add noxfile and requirements.txt * refactor requirements.txt * add newline * add newline * add newline
* feat: Add an enum value for raw locations from Apple platforms PiperOrigin-RevId: 476961484 Source-Link: googleapis/googleapis@695134b Source-Link: https://github.com/googleapis/googleapis-gen/commit/49457f9e7aae89cfe0491af4dbd9961a90125d32 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDk0NTdmOWU3YWFlODljZmUwNDkxYWY0ZGJkOTk2MWE5MDEyNWQzMiJ9 * 🦉 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 <partheniou@google.com>
* 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 <partheniou@google.com>
* 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 <partheniou@google.com>
* Add new "quickstart" samples [(#547)](#547) * Quickstart tests [(#569)](#569) * Add tests for quickstarts * Update secrets * Fix vision failure on Python 3 Change-Id: Ieb53e6cdd8b1a70089b970b7a2aa57dd3d24c3de * Generate most non-appengine readmes Change-Id: I3779282126cdd05b047194d356932b9995484115 * Update samples to support latest Google Cloud Python [(#656)](#656) * Auto-update dependencies. [(#715)](#715) * Vision cloud client snippets [(#751)](#751) * fixes typo in detect_properties [(#761)](#761) * Vision 1.1 [(#827)](#827) * Adds vision 1.1 features * Update README * Updates GCS snippet to match local file [(#836)](#836) * Improvess consistency in docs and fixes links in restructured text [(#839)](#839) * Auto-update dependencies. [(#825)](#825) * Crop hints tutorial [(#861)](#861) * Adds crop hints tutorial. * Uses aspect ratio so that we actually crop. * Addresses review feedback * nits * Restructures samples for CI * Auto-update dependencies. [(#866)](#866) * Adds document text detection tutorial. [(#868)](#868) * Adds document text detection tutorial. * Feedback from review * Less whitespace and fewer hanging indents * Fixes a few style issues that came up in document text review. [(#871)](#871) * Fixes a few style issues that came up in document text review. * Fixing my breaks * Auto-update dependencies. [(#872)](#872) * An attempt at flattening the detect example [(#873)](#873) * Adds web detection tutorial [(#874)](#874) * Vision face tutorial [(#880)](#880) * Updates sample to use the Cloud client library * Nits found after commit * Nudge for travis * flake8 hates my face * Auto-update dependencies. [(#876)](#876) * Remove cloud config fixture [(#887)](#887) * Remove cloud config fixture * Fix client secrets * Fix bigtable instance * Auto-update dependencies. [(#888)](#888) * Remove resource [(#890)](#890) * Remove resource fixture * Remove remote resource * Re-generate all readmes * Auto-update dependencies. [(#922)](#922) * Auto-update dependencies. * Fix pubsub iam samples * Adds checks for all features using https. [(#944)](#944) * Adds checks for all features using https. * Fixes overindent for lint * Fix README rst links [(#962)](#962) * Fix README rst links * Update all READMEs * Auto-update dependencies. [(#1004)](#1004) * Auto-update dependencies. * Fix natural language samples * Fix pubsub iam samples * Fix language samples * Fix bigquery samples * Auto-update dependencies. [(#1011)](#1011) * Auto-update dependencies. [(#1033)](#1033) * Vision GAPIC client library [(#1015)](#1015) * Migrate quickstart to gapic * formatting * updating detect_faces, failing tests * Migrate detect_faces to gapic * Migrate detect_labels to gapic * Migrate detect_landmarks to gapic * Migrate detect_logos to gapic * remove "Likelihood" from test outputs * Migrate detect_safe_search to gapic * Migrate detect_text to gapic * Migrate detect_properties to gapic * Migrate detect_web to gapic * Migrate crophints to gapic * Migrate detect_document to gapic; * Migrate crop_hints.py to gapic * hard code the likelihood names * Make code snippets more self-contained * Migrate doctext.py to gapic * Migrate web_detect.py to gapic * Migrate faces.py to gapic * flake8 * fix missing string format * remove url scores from sample output * region tags update * region tag correction * move region tag in get crop hints * move region tags * import style * client creation * rename bound to vertex * add region tags * increment client library version * update README to include link to the migration guide * correct version number * update readme * update client library version in requirements and readme * Auto-update dependencies. [(#1055)](#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 * Auto-update dependencies. [(#1093)](#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 * Update all generated readme auth instructions [(#1121)](#1121) Change-Id: I03b5eaef8b17ac3dc3c0339fd2c7447bd3e11bd2 * Added Link to Python Setup Guide [(#1158)](#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 * Auto-update dependencies. [(#1138)](#1138) * Auto-update dependencies. [(#1186)](#1186) * Auto-update dependencies. [(#1245)](#1245) * Vision beta [(#1211)](#1211) * remove unicode [(#1246)](#1246) * Added "Open in Cloud Shell" buttons to README files [(#1254)](#1254) * Auto-update dependencies. [(#1282)](#1282) * Auto-update dependencies. * Fix storage acl sample Change-Id: I413bea899fdde4c4859e4070a9da25845b81f7cf * Auto-update dependencies. [(#1320)](#1320) * Vision API features update [(#1339)](#1339) * Revert "Vision API features update [(#1339)](#1339)" [(#1351)](#1351) This reverts commit fba66eec5b72a8313eb3fba0a6601306801b9212. * Auto-update dependencies. [(#1377)](#1377) * Auto-update dependencies. * Update requirements.txt * fix landmark sample [(#1424)](#1424) * Vision GA [(#1427)](#1427) * replace types. with vision.types. in detect.py * copy beta code snippets * update tests, flake * remove beta_snippets * update command line interface to include web-geo samples * flake * simplify detect document text * [DO NOT MERGE] Vision API OCR PDF/TIFF sample [(#1420)](#1420) * add docpdf sample * import order * list blobs * filename change * add the renamed files * parse json string to AnnotateFileResponse message * show more of the response * simplify response processing to better focus on how to make the request * fix typo * linter * linter * linter * Regenerate the README files and fix the Open in Cloud Shell link for some samples [(#1441)](#1441) * detect-pdf update [(#1460)](#1460) * detect-pdf update * update test * Update READMEs to fix numbering and add git clone [(#1464)](#1464) * Move ocr pdf/tiff samples to GA [(#1522)](#1522) * Move ocr pdf/tiff samples to GA * Remove blank spaces and fragment * Fix the vision geo test. [(#1518)](#1518) Sometimes, Vision sees Zepra. Othertimes, it sees Electra Tower. * [DO_NOT_MERGE] Add samples for object localization and handwritten ocr [(#1572)](#1572) * Add samples for object localization and handwritten ocr * Update to released lib * Update beta_snippets.py * [DO NOT MERGE] Product search [(#1580)](#1580) Product search * Update vision web_detect test image [(#1607)](#1607) The original image no longer appears on cloud.google.com/vision * Vision - remove unused region tags [(#1620)](#1620) * Vision region tag update [(#1635)](#1635) * Udpate Beta Vision samples to use beta tags [(#1640)](#1640) * Update samples to GA, cleanup tests, delete old samples [(#1704)](#1704) * Add print output to crop hints tutorial [(#1797)](#1797) * Remove unused code [(#1745)](#1745) * Display the score/confidence value [(#1429)](#1429) * Display the score/confidence value A small code addition to display the score/confidence value of a detected face above the face detection box on the output image. This is very useful to know the confidence! * Changes applied to meet coding style requirements I have edited the already submitted code to meet the coding style requirements! * Edits because white spaces * Remove [(#1431)](#1431) I'm updating all the openapi files in the getting-started sample in all the sample repos to remove basePath: "/" Here's the reason from simonz130: From the OpenAPI 2 spec: * basePath: "If it is not included, the API is served directly under the host. The value MUST start with a leading slash (/). " * Paths for methods: "A relative path to an individual endpoint. The field name MUST begin with a slash. The path is appended to the basePath in order to construct the full URL." This OpenAPI getting-started sample have basePath: "/", which (per strict spec interpretation) means all the paths start with double-slashes. (e.g "//v1/shelves" rather than "/v1/shelves"). Removing basepath="/" fixes that. * Auto-update dependencies. [(#1846)](#1846) ACK, merging. * update samples for product search GA [(#1861)](#1861) * update samples for product search GA * update to use 0.35.1 * Use default font [(#1865)](#1865) Test environment does not support all fonts. * use shared sample data bucket [(#1874)](#1874) * Pass max_results through to API - issue #1173 [(#1917)](#1917) * Fix Vision Product Search sample comment typo [(#1897)](#1897) * vision: update samples to address changes in model annotations. [(#1991)](#1991) changes to the vision model evaluation changed annotations for some of the sample data used in these tests. This corrects those expectations to reflect current evaluation. Background: internal issue 123358697 * Auto-update dependencies. [(#1980)](#1980) * Auto-update dependencies. * Update requirements.txt * Update requirements.txt * Vision API: further fixes. [(#2002)](#2002) * Vision API: further fixes. Redirects testing to the central cloud-samples-data asset bucket. Relaxes case considerations. Addresses web subtests, missed in previous PR. * Added two samples for "OCR with PDF/TIFF as source files" [(#2034)](#2034) * Added two samples for "OCR with PDF/TIFF as source files" * Moved the code to beta_snippets.py * Fixed the sub-parser names. * Shortened the line that was too long. * Added newline at the end of the file * Using the builtin open function instead * Renamed a variable * Fixed the wrong arg parameter * Added extra comment lines * Regenerated README.rst * Added specific strings to be unit-tested * Added the sample for async image batch annotation [(#2045)](#2045) * Added the sample for async image batch annotation * Fixed the wrong function name * Changes based on Noah's comments. * Need newer library version for latest beta [(#2052)](#2052) * Fixed string in test [(#2135)](#2135) * Fixed string in test * Updated to latest AutoML * Update detect.py [(#2174)](#2174) 1) I got argument parse error when bucket_name=bucket_name is given 2)blob_list[0] gave me folder name * Revert "Update detect.py" [(#2274)](#2274) * Revert "Update detect.py [(#2174)](#2174)" This reverts commit 6eaad9a3166ab3262c1211c2f41fb4b5d8234b7d. * Update beta_snippets_test.py * Update beta_snippets.py * Update detect.py * Move import inside region tags [(#2211)](#2211) * Move import inside region tags * Update detect.py * Fix comment. [(#2108)](#2108) Comment should reflect real filename. * Fix a typo in output message / remove duplicate parser assignment. [(#1999)](#1999) * Fix a typo in output message. Fixes a minor typo error in the `draw_hint` function. Because the tutorial is one of the starting points for new users, it's worth correcting it to avoid confusion. * Remove duplicate `argparse` assignment. `argparse.ArgumentParser()` was assigned twice in if statement so removed the duplicate. * move import re [(#2303)](#2303) * Makes quickstart more REPL friendly [(#2354)](#2354) * vision geo test fix [(#2353)](#2353) Gus already LGTM * Purge products [(#2349)](#2349) * add vision_product_search_purge_products_in_product_set * add vision_product_search_purge_orphan_products * update comment * flake * update print message * update python sample to use operation.result * longer timeout * remove unused variable * Adds updates for samples profiler ... vision [(#2439)](#2439) * Update Pillow dependency per security alert CVE-2019-16865 [(#2492)](#2492) * Add Set Endpoint Samples [(#2497)](#2497) * Add Set Endpoint Samples * Add additional test result option * Sample Request update * Add filter_ * Auto-update dependencies. [(#2005)](#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> * fix: get bounds for blocks instead of pages [(#2705)](#2705) * fix: use `page.bounding_box` when feature is page Closes #2702 * fix: outline blocks instead of pages Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com> * Add vision ocr set endpoint samples [(#2569)](#2569) * Add vision ocr set endpoint samples * Remove port number as it is optional in Python * Use unique output names * lint * Add support for python2 print statements * use uuid instead of datetime * remove all tests that use https as they perform duplicate work Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com> * vision: update samples to throw errors if one occurs [(#2725)](#2725) * vision: update samples to throw errors if one occurs * Add link to error page docs * Add link to error message Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com> Co-authored-by: Gus Class <gguuss@gmail.com> * vision: move published samples into master [(#2743)](#2743) Add generated samples for Vision API Add required attribute mime_type Resolve encoding error in py2 Remove autogenerated warnings Remove coding: utf-8 line Remove argument encoding checks Remove CLI Remove unnecessary statics, variables, and imports Blacken with l=88 Remove unused region tag and comments Verify that there are no published links pointing to removed region tags Shorten docstring Replace concrete file path with "path/to/your/document.pdf" Co-authored-by: Yu-Han Liu <dizcology@hotmail.com> * fix: vision product search tests to call setup and teardown and use uuid [(#2830)](#2830) * vision: fix flaky test [(#2988)](#2988) * vision: fix flaky tests to be more generic in the results [(#2915)](#2915) * chore(deps): update dependency google-cloud-storage to v1.26.0 [(#3046)](#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 <6719667+leahecole@users.noreply.github.com> Co-authored-by: Leah Cole <coleleah@google.com> * Clarifying comment for batch requests [(#3071)](#3071) * Clarifying comment for batch requests * vision: fixing linter for batch * vision: remove redundant flaky web test [(#3090)](#3090) Fix: #2880 * vision: fix flaky test [(#3091)](#3091) Fix: #2876 * chore(deps): update dependency google-cloud-vision to v0.42.0 [(#3170)](#3170) * chore(deps): update dependency pillow to v6.2.2 [(#3186)](#3186) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [pillow](https://python-pillow.org) ([source](https://togithub.com/python-pillow/Pillow)) | patch | `==6.2.1` -> `==6.2.2` | --- ### Release Notes <details> <summary>python-pillow/Pillow</summary> ### [`v6.2.2`](https://togithub.com/python-pillow/Pillow/blob/master/CHANGES.rst#​622-2020-01-02) [Compare Source](https://togithub.com/python-pillow/Pillow/compare/6.2.1...6.2.2) - This is the last Pillow release to support Python 2.7 [#​3642](https://togithub.com/python-pillow/Pillow/issues/3642) - Overflow checks for realloc for tiff decoding. CVE-2020-5310 [wiredfool, radarhere] - Catch SGI buffer overrun. CVE-2020-5311 [radarhere] - Catch PCX P mode buffer overrun. CVE-2020-5312 [radarhere] - Catch FLI buffer overrun. CVE-2020-5313 [radarhere] - Raise an error for an invalid number of bands in FPX image. CVE-2019-19911 [wiredfool, radarhere] </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 pillow to v7 [(#3218)](#3218) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [pillow](https://python-pillow.org) ([source](https://togithub.com/python-pillow/Pillow)) | major | `==6.2.2` -> `==7.1.0` | --- ### Release Notes <details> <summary>python-pillow/Pillow</summary> ### [`v7.1.0`](https://togithub.com/python-pillow/Pillow/blob/master/CHANGES.rst#​710-2020-04-01) [Compare Source](https://togithub.com/python-pillow/Pillow/compare/7.0.0...7.1.0) - Fix multiple OOB reads in FLI decoding [#​4503](https://togithub.com/python-pillow/Pillow/issues/4503) [wiredfool] - Fix buffer overflow in SGI-RLE decoding [#​4504](https://togithub.com/python-pillow/Pillow/issues/4504) [wiredfool, hugovk] - Fix bounds overflow in JPEG 2000 decoding [#​4505](https://togithub.com/python-pillow/Pillow/issues/4505) [wiredfool] - Fix bounds overflow in PCX decoding [#​4506](https://togithub.com/python-pillow/Pillow/issues/4506) [wiredfool] - Fix 2 buffer overflows in TIFF decoding [#​4507](https://togithub.com/python-pillow/Pillow/issues/4507) [wiredfool] - Add APNG support [#​4243](https://togithub.com/python-pillow/Pillow/issues/4243) [pmrowla, radarhere, hugovk] - ImageGrab.grab() for Linux with XCB [#​4260](https://togithub.com/python-pillow/Pillow/issues/4260) [nulano, radarhere] - Added three new channel operations [#​4230](https://togithub.com/python-pillow/Pillow/issues/4230) [dwastberg, radarhere] - Prevent masking of Image reduce method in Jpeg2KImagePlugin [#​4474](https://togithub.com/python-pillow/Pillow/issues/4474) [radarhere, homm] - Added reading of earlier ImageMagick PNG EXIF data [#​4471](https://togithub.com/python-pillow/Pillow/issues/4471) [radarhere] - Fixed endian handling for I;16 getextrema [#​4457](https://togithub.com/python-pillow/Pillow/issues/4457) [radarhere] - Release buffer if function returns prematurely [#​4381](https://togithub.com/python-pillow/Pillow/issues/4381) [radarhere] - Add JPEG comment to info dictionary [#​4455](https://togithub.com/python-pillow/Pillow/issues/4455) [radarhere] - Fix size calculation of Image.thumbnail() [#​4404](https://togithub.com/python-pillow/Pillow/issues/4404) [orlnub123] - Fixed stroke on FreeType < 2.9 [#​4401](https://togithub.com/python-pillow/Pillow/issues/4401) [radarhere] - If present, only use alpha channel for bounding box [#​4454](https://togithub.com/python-pillow/Pillow/issues/4454) [radarhere] - Warn if an unknown feature is passed to features.check() [#​4438](https://togithub.com/python-pillow/Pillow/issues/4438) [jdufresne] - Fix Name field length when saving IM images [#​4424](https://togithub.com/python-pillow/Pillow/issues/4424) [hugovk, radarhere] - Allow saving of zero quality JPEG images [#​4440](https://togithub.com/python-pillow/Pillow/issues/4440) [radarhere] - Allow explicit zero width to hide outline [#​4334](https://togithub.com/python-pillow/Pillow/issues/4334) [radarhere] - Change ContainerIO return type to match file object mode [#​4297](https://togithub.com/python-pillow/Pillow/issues/4297) [jdufresne, radarhere] - Only draw each polygon pixel once [#​4333](https://togithub.com/python-pillow/Pillow/issues/4333) [radarhere] - Add support for shooting situation Exif IFD tags [#​4398](https://togithub.com/python-pillow/Pillow/issues/4398) [alexagv] - Handle multiple and malformed JPEG APP13 markers [#​4370](https://togithub.com/python-pillow/Pillow/issues/4370) [homm] - Depends: Update libwebp to 1.1.0 [#​4342](https://togithub.com/python-pillow/Pillow/issues/4342), libjpeg to 9d [#​4352](https://togithub.com/python-pillow/Pillow/issues/4352) [radarhere] ### [`v7.0.0`](https://togithub.com/python-pillow/Pillow/blob/master/CHANGES.rst#​700-2020-01-02) [Compare Source](https://togithub.com/python-pillow/Pillow/compare/6.2.2...7.0.0) - Drop support for EOL Python 2.7 [#​4109](https://togithub.com/python-pillow/Pillow/issues/4109) [hugovk, radarhere, jdufresne] - Fix rounding error on RGB to L conversion [#​4320](https://togithub.com/python-pillow/Pillow/issues/4320) [homm] - Exif writing fixes: Rational boundaries and signed/unsigned types [#​3980](https://togithub.com/python-pillow/Pillow/issues/3980) [kkopachev, radarhere] - Allow loading of WMF images at a given DPI [#​4311](https://togithub.com/python-pillow/Pillow/issues/4311) [radarhere] - Added reduce operation [#​4251](https://togithub.com/python-pillow/Pillow/issues/4251) [homm] - Raise ValueError for io.StringIO in Image.open [#​4302](https://togithub.com/python-pillow/Pillow/issues/4302) [radarhere, hugovk] - Fix thumbnail geometry when DCT scaling is used [#​4231](https://togithub.com/python-pillow/Pillow/issues/4231) [homm, radarhere] - Use default DPI when exif provides invalid x_resolution [#​4147](https://togithub.com/python-pillow/Pillow/issues/4147) [beipang2, radarhere] - Change default resize resampling filter from NEAREST to BICUBIC [#​4255](https://togithub.com/python-pillow/Pillow/issues/4255) [homm] - Fixed black lines on upscaled images with the BOX filter [#​4278](https://togithub.com/python-pillow/Pillow/issues/4278) [homm] - Better thumbnail aspect ratio preservation [#​4256](https://togithub.com/python-pillow/Pillow/issues/4256) [homm] - Add La mode packing and unpacking [#​4248](https://togithub.com/python-pillow/Pillow/issues/4248) [homm] - Include tests in coverage reports [#​4173](https://togithub.com/python-pillow/Pillow/issues/4173) [hugovk] - Handle broken Photoshop data [#​4239](https://togithub.com/python-pillow/Pillow/issues/4239) [radarhere] - Raise a specific exception if no data is found for an MPO frame [#​4240](https://togithub.com/python-pillow/Pillow/issues/4240) [radarhere] - Fix Unicode support for PyPy [#​4145](https://togithub.com/python-pillow/Pillow/issues/4145) [nulano] - Added UnidentifiedImageError [#​4182](https://togithub.com/python-pillow/Pillow/issues/4182) [radarhere, hugovk] - Remove deprecated **version** from plugins [#​4197](https://togithub.com/python-pillow/Pillow/issues/4197) [hugovk, radarhere] - Fixed freeing unallocated pointer when resizing with height too large [#​4116](https://togithub.com/python-pillow/Pillow/issues/4116) [radarhere] - Copy info in Image.transform [#​4128](https://togithub.com/python-pillow/Pillow/issues/4128) [radarhere] - Corrected DdsImagePlugin setting info gamma [#​4171](https://togithub.com/python-pillow/Pillow/issues/4171) [radarhere] - Depends: Update libtiff to 4.1.0 [#​4195](https://togithub.com/python-pillow/Pillow/issues/4195), Tk Tcl to 8.6.10 [#​4229](https://togithub.com/python-pillow/Pillow/issues/4229), libimagequant to 2.12.6 [#​4318](https://togithub.com/python-pillow/Pillow/issues/4318) [radarhere] - Improve handling of file resources [#​3577](https://togithub.com/python-pillow/Pillow/issues/3577) [jdufresne] - Removed CI testing of Fedora 29 [#​4165](https://togithub.com/python-pillow/Pillow/issues/4165) [hugovk] - Added pypy3 to tox envlist [#​4137](https://togithub.com/python-pillow/Pillow/issues/4137) [jdufresne] - Drop support for EOL PyQt4 and PySide [#​4108](https://togithub.com/python-pillow/Pillow/issues/4108) [hugovk, radarhere] - Removed deprecated setting of TIFF image sizes [#​4114](https://togithub.com/python-pillow/Pillow/issues/4114) [radarhere] - Removed deprecated PILLOW_VERSION [#​4107](https://togithub.com/python-pillow/Pillow/issues/4107) [hugovk] - Changed default frombuffer raw decoder args [#​1730](https://togithub.com/python-pillow/Pillow/issues/1730) [radarhere] </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). * Simplify noxfile setup. [(#2806)](#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> * Update dependency google-cloud-vision to v1 [(#3227)](#3227) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [google-cloud-vision](https://togithub.com/googleapis/python-vision) | major | `==0.42.0` -> `==1.0.0` | --- ### Release Notes <details> <summary>googleapis/python-vision</summary> ### [`v1.0.0`](https://togithub.com/googleapis/python-vision/blob/master/CHANGELOG.md#​100-httpswwwgithubcomgoogleapispython-visioncomparev0420v100-2020-02-28) [Compare Source](https://togithub.com/googleapis/python-vision/compare/v0.42.0...v1.0.0) ##### Features - bump release status to GA ([#​11](https://www.github.com/googleapis/python-vision/issues/11)) ([2129bde](https://www.github.com/googleapis/python-vision/commit/2129bdedfa0dca85c5adc5350bff10d4a485df77)) </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). * Update dependency pillow to v7.1.1 [(#3263)](#3263) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [pillow](https://python-pillow.org) ([source](https://togithub.com/python-pillow/Pillow)) | patch | `==7.1.0` -> `==7.1.1` | --- ### Release Notes <details> <summary>python-pillow/Pillow</summary> ### [`v7.1.1`](https://togithub.com/python-pillow/Pillow/blob/master/CHANGES.rst#​711-2020-04-02) [Compare Source](https://togithub.com/python-pillow/Pillow/compare/7.1.0...7.1.1) - Fix regression seeking and telling PNGs [#​4512](https://togithub.com/python-pillow/Pillow/issues/4512) [#​4514](https://togithub.com/python-pillow/Pillow/issues/4514) [hugovk, radarhere] </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). * vision: increase timeout for tests [(#3383)](#3383) Fix: #2955 Fix: #2992 * [vision] fix: longer timeout [(#3447)](#3447) fixes #2962 * testing: replace @flaky with @pytest.mark.flaky [(#3496)](#3496) * testing: replace @flaky with @pytest.mark.flaky * lint * mark few tests as flaky that involves LRO polling. * lint * chore(deps): update dependency pillow to v7.1.2 [(#3557)](#3557) * chore(deps): update dependency google-cloud-storage to v1.28.0 [(#3260)](#3260) Co-authored-by: Takashi Matsuo <tmatsuo@google.com> * [vision] fix: add timeout for LRO result and mark it as flaky [(#3684)](#3684) fixes #3674 * [vision] fix: mark a test as flaky [(#3709)](#3709) fixes #3702 * chore: some lint fixes [(#3751)](#3751) * chore: some lint fixes * longer timeout, more retries * disable detect_test.py::test_async_detect_document * [vision] testing: retry upon errors [(#3764)](#3764) fixes #3734 I only wrapped some of the tests. Potentially we can do it for everything. * [vision] testing: re-enable test_async_detect_document [(#3761)](#3761) fixes #3753 also made the data PDF to be smaller. * chore(deps): update dependency google-cloud-storage to v1.28.1 [(#3785)](#3785) * chore(deps): update dependency google-cloud-storage to v1.28.1 * [asset] testing: use uuid instead of time Co-authored-by: Takashi Matsuo <tmatsuo@google.com> * Replace GCLOUD_PROJECT with GOOGLE_CLOUD_PROJECT. [(#4022)](#4022) * chore(deps): update dependency google-cloud-storage to v1.29.0 [(#4040)](#4040) * chore(deps): update dependency pillow to v7.2.0 [(#4208)](#4208) * testing(vision): use different ids for test functions [(#4227)](#4227) fixes #4224 * chore(deps): update dependency pytest to v5.4.3 [(#4279)](#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> * Update dependency flaky to v3.7.0 [(#4300)](#4300) * Update dependency google-cloud-storage to v1.30.0 * Update dependency pytest to v6 [(#4390)](#4390) * feat: fixed doc string comment mismatch in Product Search [(#4432)](#4432) Changes documentation string for a GCS example from `file_path` to `image_uri`. * chore(deps): update dependency google-cloud-storage to v1.31.0 [(#4564)](#4564) Co-authored-by: Takashi Matsuo <tmatsuo@google.com> * chore: update templates Co-authored-by: Jason Dobry <jmdobry@users.noreply.github.com> Co-authored-by: Jon Wayne Parrott <jonwayne@google.com> Co-authored-by: DPE bot <dpebot@google.com> Co-authored-by: Gus Class <gguuss@gmail.com> Co-authored-by: Brent Shaffer <betterbrent@google.com> Co-authored-by: Bill Prin <waprin@gmail.com> Co-authored-by: Yu-Han Liu <dizcology@hotmail.com> Co-authored-by: michaelawyu <chenyumic@google.com> Co-authored-by: Rebecca Taylor <remilytaylor@gmail.com> Co-authored-by: Frank Natividad <frankyn@users.noreply.github.com> Co-authored-by: Noah Negrey <nnegrey@users.noreply.github.com> Co-authored-by: Jeffrey Rennie <rennie@google.com> Co-authored-by: Tim Swast <swast@google.com> Co-authored-by: Alix Hamilton <ajhamilton@google.com> Co-authored-by: Rebecca Taylor <becca@becca.me> Co-authored-by: Krissda Prakalphakul <5546755+krissdap@users.noreply.github.com> Co-authored-by: Peshmerge <peshmerge@users.noreply.github.com> Co-authored-by: navinger <navinger2003@gmail.com> Co-authored-by: Charles Engelke <github@engelke.com> Co-authored-by: shollyman <shollyman@google.com> Co-authored-by: Shahin <happyhuman@users.noreply.github.com> Co-authored-by: Charles Engelke <engelke@google.com> Co-authored-by: Agnel Vishal <agnelvishal@gmail.com> Co-authored-by: Grega Kespret <grega.kespret@gmail.com> Co-authored-by: Da-Woon Chung <dorapen@gmail.com> Co-authored-by: Yu-Han Liu <yuhanliu@google.com> Co-authored-by: Torry Yang <sirtorry@users.noreply.github.com> Co-authored-by: Kurtis Van Gent <31518063+kurtisvg@users.noreply.github.com> Co-authored-by: Doug Mahugh <dmahugh@gmail.com> Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com> Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com> Co-authored-by: Michelle Casbon <texasmichelle@users.noreply.github.com> Co-authored-by: WhiteSource Renovate <bot@renovateapp.com> Co-authored-by: Leah Cole <coleleah@google.com> Co-authored-by: Cameron Zahedi <czahedi@google.com> Co-authored-by: Takashi Matsuo <tmatsuo@google.com> Co-authored-by: Eric Schmidt <erschmid@google.com>
* Add new "quickstart" samples [(#547)](#547) * Quickstart tests [(#569)](#569) * Add tests for quickstarts * Update secrets * Fix vision failure on Python 3 Change-Id: Ieb53e6cdd8b1a70089b970b7a2aa57dd3d24c3de * Generate most non-appengine readmes Change-Id: I3779282126cdd05b047194d356932b9995484115 * Update samples to support latest Google Cloud Python [(#656)](#656) * Auto-update dependencies. [(#715)](#715) * Vision cloud client snippets [(#751)](#751) * fixes typo in detect_properties [(#761)](#761) * Vision 1.1 [(#827)](#827) * Adds vision 1.1 features * Update README * Updates GCS snippet to match local file [(#836)](#836) * Improvess consistency in docs and fixes links in restructured text [(#839)](#839) * Auto-update dependencies. [(#825)](#825) * Crop hints tutorial [(#861)](#861) * Adds crop hints tutorial. * Uses aspect ratio so that we actually crop. * Addresses review feedback * nits * Restructures samples for CI * Auto-update dependencies. [(#866)](#866) * Adds document text detection tutorial. [(#868)](#868) * Adds document text detection tutorial. * Feedback from review * Less whitespace and fewer hanging indents * Fixes a few style issues that came up in document text review. [(#871)](#871) * Fixes a few style issues that came up in document text review. * Fixing my breaks * Auto-update dependencies. [(#872)](#872) * An attempt at flattening the detect example [(#873)](#873) * Adds web detection tutorial [(#874)](#874) * Vision face tutorial [(#880)](#880) * Updates sample to use the Cloud client library * Nits found after commit * Nudge for travis * flake8 hates my face * Auto-update dependencies. [(#876)](#876) * Remove cloud config fixture [(#887)](#887) * Remove cloud config fixture * Fix client secrets * Fix bigtable instance * Auto-update dependencies. [(#888)](#888) * Remove resource [(#890)](#890) * Remove resource fixture * Remove remote resource * Re-generate all readmes * Auto-update dependencies. [(#922)](#922) * Auto-update dependencies. * Fix pubsub iam samples * Adds checks for all features using https. [(#944)](#944) * Adds checks for all features using https. * Fixes overindent for lint * Fix README rst links [(#962)](#962) * Fix README rst links * Update all READMEs * Auto-update dependencies. [(#1004)](#1004) * Auto-update dependencies. * Fix natural language samples * Fix pubsub iam samples * Fix language samples * Fix bigquery samples * Auto-update dependencies. [(#1011)](#1011) * Auto-update dependencies. [(#1033)](#1033) * Vision GAPIC client library [(#1015)](#1015) * Migrate quickstart to gapic * formatting * updating detect_faces, failing tests * Migrate detect_faces to gapic * Migrate detect_labels to gapic * Migrate detect_landmarks to gapic * Migrate detect_logos to gapic * remove "Likelihood" from test outputs * Migrate detect_safe_search to gapic * Migrate detect_text to gapic * Migrate detect_properties to gapic * Migrate detect_web to gapic * Migrate crophints to gapic * Migrate detect_document to gapic; * Migrate crop_hints.py to gapic * hard code the likelihood names * Make code snippets more self-contained * Migrate doctext.py to gapic * Migrate web_detect.py to gapic * Migrate faces.py to gapic * flake8 * fix missing string format * remove url scores from sample output * region tags update * region tag correction * move region tag in get crop hints * move region tags * import style * client creation * rename bound to vertex * add region tags * increment client library version * update README to include link to the migration guide * correct version number * update readme * update client library version in requirements and readme * Auto-update dependencies. [(#1055)](#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 * Auto-update dependencies. [(#1093)](#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 * Update all generated readme auth instructions [(#1121)](#1121) Change-Id: I03b5eaef8b17ac3dc3c0339fd2c7447bd3e11bd2 * Added Link to Python Setup Guide [(#1158)](#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 * Auto-update dependencies. [(#1138)](#1138) * Auto-update dependencies. [(#1186)](#1186) * Auto-update dependencies. [(#1245)](#1245) * Vision beta [(#1211)](#1211) * remove unicode [(#1246)](#1246) * Added "Open in Cloud Shell" buttons to README files [(#1254)](#1254) * Auto-update dependencies. [(#1282)](#1282) * Auto-update dependencies. * Fix storage acl sample Change-Id: I413bea899fdde4c4859e4070a9da25845b81f7cf * Auto-update dependencies. [(#1320)](#1320) * Vision API features update [(#1339)](#1339) * Revert "Vision API features update [(#1339)](#1339)" [(#1351)](#1351) This reverts commit fba66eec5b72a8313eb3fba0a6601306801b9212. * Auto-update dependencies. [(#1377)](#1377) * Auto-update dependencies. * Update requirements.txt * fix landmark sample [(#1424)](#1424) * Vision GA [(#1427)](#1427) * replace types. with vision.types. in detect.py * copy beta code snippets * update tests, flake * remove beta_snippets * update command line interface to include web-geo samples * flake * simplify detect document text * [DO NOT MERGE] Vision API OCR PDF/TIFF sample [(#1420)](#1420) * add docpdf sample * import order * list blobs * filename change * add the renamed files * parse json string to AnnotateFileResponse message * show more of the response * simplify response processing to better focus on how to make the request * fix typo * linter * linter * linter * Regenerate the README files and fix the Open in Cloud Shell link for some samples [(#1441)](#1441) * detect-pdf update [(#1460)](#1460) * detect-pdf update * update test * Update READMEs to fix numbering and add git clone [(#1464)](#1464) * Move ocr pdf/tiff samples to GA [(#1522)](#1522) * Move ocr pdf/tiff samples to GA * Remove blank spaces and fragment * Fix the vision geo test. [(#1518)](#1518) Sometimes, Vision sees Zepra. Othertimes, it sees Electra Tower. * [DO_NOT_MERGE] Add samples for object localization and handwritten ocr [(#1572)](#1572) * Add samples for object localization and handwritten ocr * Update to released lib * Update beta_snippets.py * [DO NOT MERGE] Product search [(#1580)](#1580) Product search * Update vision web_detect test image [(#1607)](#1607) The original image no longer appears on cloud.google.com/vision * Vision - remove unused region tags [(#1620)](#1620) * Vision region tag update [(#1635)](#1635) * Udpate Beta Vision samples to use beta tags [(#1640)](#1640) * Update samples to GA, cleanup tests, delete old samples [(#1704)](#1704) * Add print output to crop hints tutorial [(#1797)](#1797) * Remove unused code [(#1745)](#1745) * Display the score/confidence value [(#1429)](#1429) * Display the score/confidence value A small code addition to display the score/confidence value of a detected face above the face detection box on the output image. This is very useful to know the confidence! * Changes applied to meet coding style requirements I have edited the already submitted code to meet the coding style requirements! * Edits because white spaces * Remove [(#1431)](#1431) I'm updating all the openapi files in the getting-started sample in all the sample repos to remove basePath: "/" Here's the reason from simonz130: From the OpenAPI 2 spec: * basePath: "If it is not included, the API is served directly under the host. The value MUST start with a leading slash (/). " * Paths for methods: "A relative path to an individual endpoint. The field name MUST begin with a slash. The path is appended to the basePath in order to construct the full URL." This OpenAPI getting-started sample have basePath: "/", which (per strict spec interpretation) means all the paths start with double-slashes. (e.g "//v1/shelves" rather than "/v1/shelves"). Removing basepath="/" fixes that. * Auto-update dependencies. [(#1846)](#1846) ACK, merging. * update samples for product search GA [(#1861)](#1861) * update samples for product search GA * update to use 0.35.1 * Use default font [(#1865)](#1865) Test environment does not support all fonts. * use shared sample data bucket [(#1874)](#1874) * Pass max_results through to API - issue #1173 [(#1917)](#1917) * Fix Vision Product Search sample comment typo [(#1897)](#1897) * vision: update samples to address changes in model annotations. [(#1991)](#1991) changes to the vision model evaluation changed annotations for some of the sample data used in these tests. This corrects those expectations to reflect current evaluation. Background: internal issue 123358697 * Auto-update dependencies. [(#1980)](#1980) * Auto-update dependencies. * Update requirements.txt * Update requirements.txt * Vision API: further fixes. [(#2002)](#2002) * Vision API: further fixes. Redirects testing to the central cloud-samples-data asset bucket. Relaxes case considerations. Addresses web subtests, missed in previous PR. * Added two samples for "OCR with PDF/TIFF as source files" [(#2034)](#2034) * Added two samples for "OCR with PDF/TIFF as source files" * Moved the code to beta_snippets.py * Fixed the sub-parser names. * Shortened the line that was too long. * Added newline at the end of the file * Using the builtin open function instead * Renamed a variable * Fixed the wrong arg parameter * Added extra comment lines * Regenerated README.rst * Added specific strings to be unit-tested * Added the sample for async image batch annotation [(#2045)](#2045) * Added the sample for async image batch annotation * Fixed the wrong function name * Changes based on Noah's comments. * Need newer library version for latest beta [(#2052)](#2052) * Fixed string in test [(#2135)](#2135) * Fixed string in test * Updated to latest AutoML * Update detect.py [(#2174)](#2174) 1) I got argument parse error when bucket_name=bucket_name is given 2)blob_list[0] gave me folder name * Revert "Update detect.py" [(#2274)](#2274) * Revert "Update detect.py [(#2174)](#2174)" This reverts commit 6eaad9a3166ab3262c1211c2f41fb4b5d8234b7d. * Update beta_snippets_test.py * Update beta_snippets.py * Update detect.py * Move import inside region tags [(#2211)](#2211) * Move import inside region tags * Update detect.py * Fix comment. [(#2108)](#2108) Comment should reflect real filename. * Fix a typo in output message / remove duplicate parser assignment. [(#1999)](#1999) * Fix a typo in output message. Fixes a minor typo error in the `draw_hint` function. Because the tutorial is one of the starting points for new users, it's worth correcting it to avoid confusion. * Remove duplicate `argparse` assignment. `argparse.ArgumentParser()` was assigned twice in if statement so removed the duplicate. * move import re [(#2303)](#2303) * Makes quickstart more REPL friendly [(#2354)](#2354) * vision geo test fix [(#2353)](#2353) Gus already LGTM * Purge products [(#2349)](#2349) * add vision_product_search_purge_products_in_product_set * add vision_product_search_purge_orphan_products * update comment * flake * update print message * update python sample to use operation.result * longer timeout * remove unused variable * Adds updates for samples profiler ... vision [(#2439)](#2439) * Update Pillow dependency per security alert CVE-2019-16865 [(#2492)](#2492) * Add Set Endpoint Samples [(#2497)](#2497) * Add Set Endpoint Samples * Add additional test result option * Sample Request update * Add filter_ * Auto-update dependencies. [(#2005)](#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> * fix: get bounds for blocks instead of pages [(#2705)](#2705) * fix: use `page.bounding_box` when feature is page Closes #2702 * fix: outline blocks instead of pages Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com> * Add vision ocr set endpoint samples [(#2569)](#2569) * Add vision ocr set endpoint samples * Remove port number as it is optional in Python * Use unique output names * lint * Add support for python2 print statements * use uuid instead of datetime * remove all tests that use https as they perform duplicate work Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com> * vision: update samples to throw errors if one occurs [(#2725)](#2725) * vision: update samples to throw errors if one occurs * Add link to error page docs * Add link to error message Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com> Co-authored-by: Gus Class <gguuss@gmail.com> * vision: move published samples into master [(#2743)](#2743) Add generated samples for Vision API Add required attribute mime_type Resolve encoding error in py2 Remove autogenerated warnings Remove coding: utf-8 line Remove argument encoding checks Remove CLI Remove unnecessary statics, variables, and imports Blacken with l=88 Remove unused region tag and comments Verify that there are no published links pointing to removed region tags Shorten docstring Replace concrete file path with "path/to/your/document.pdf" Co-authored-by: Yu-Han Liu <dizcology@hotmail.com> * fix: vision product search tests to call setup and teardown and use uuid [(#2830)](#2830) * vision: fix flaky test [(#2988)](#2988) * vision: fix flaky tests to be more generic in the results [(#2915)](#2915) * chore(deps): update dependency google-cloud-storage to v1.26.0 [(#3046)](#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 <6719667+leahecole@users.noreply.github.com> Co-authored-by: Leah Cole <coleleah@google.com> * Clarifying comment for batch requests [(#3071)](#3071) * Clarifying comment for batch requests * vision: fixing linter for batch * vision: remove redundant flaky web test [(#3090)](#3090) Fix: #2880 * vision: fix flaky test [(#3091)](#3091) Fix: #2876 * chore(deps): update dependency google-cloud-vision to v0.42.0 [(#3170)](#3170) * chore(deps): update dependency pillow to v6.2.2 [(#3186)](#3186) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [pillow](https://python-pillow.org) ([source](https://togithub.com/python-pillow/Pillow)) | patch | `==6.2.1` -> `==6.2.2` | --- ### Release Notes <details> <summary>python-pillow/Pillow</summary> ### [`v6.2.2`](https://togithub.com/python-pillow/Pillow/blob/master/CHANGES.rst#​622-2020-01-02) [Compare Source](https://togithub.com/python-pillow/Pillow/compare/6.2.1...6.2.2) - This is the last Pillow release to support Python 2.7 [#​3642](https://togithub.com/python-pillow/Pillow/issues/3642) - Overflow checks for realloc for tiff decoding. CVE-2020-5310 [wiredfool, radarhere] - Catch SGI buffer overrun. CVE-2020-5311 [radarhere] - Catch PCX P mode buffer overrun. CVE-2020-5312 [radarhere] - Catch FLI buffer overrun. CVE-2020-5313 [radarhere] - Raise an error for an invalid number of bands in FPX image. CVE-2019-19911 [wiredfool, radarhere] </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 pillow to v7 [(#3218)](#3218) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [pillow](https://python-pillow.org) ([source](https://togithub.com/python-pillow/Pillow)) | major | `==6.2.2` -> `==7.1.0` | --- ### Release Notes <details> <summary>python-pillow/Pillow</summary> ### [`v7.1.0`](https://togithub.com/python-pillow/Pillow/blob/master/CHANGES.rst#​710-2020-04-01) [Compare Source](https://togithub.com/python-pillow/Pillow/compare/7.0.0...7.1.0) - Fix multiple OOB reads in FLI decoding [#​4503](https://togithub.com/python-pillow/Pillow/issues/4503) [wiredfool] - Fix buffer overflow in SGI-RLE decoding [#​4504](https://togithub.com/python-pillow/Pillow/issues/4504) [wiredfool, hugovk] - Fix bounds overflow in JPEG 2000 decoding [#​4505](https://togithub.com/python-pillow/Pillow/issues/4505) [wiredfool] - Fix bounds overflow in PCX decoding [#​4506](https://togithub.com/python-pillow/Pillow/issues/4506) [wiredfool] - Fix 2 buffer overflows in TIFF decoding [#​4507](https://togithub.com/python-pillow/Pillow/issues/4507) [wiredfool] - Add APNG support [#​4243](https://togithub.com/python-pillow/Pillow/issues/4243) [pmrowla, radarhere, hugovk] - ImageGrab.grab() for Linux with XCB [#​4260](https://togithub.com/python-pillow/Pillow/issues/4260) [nulano, radarhere] - Added three new channel operations [#​4230](https://togithub.com/python-pillow/Pillow/issues/4230) [dwastberg, radarhere] - Prevent masking of Image reduce method in Jpeg2KImagePlugin [#​4474](https://togithub.com/python-pillow/Pillow/issues/4474) [radarhere, homm] - Added reading of earlier ImageMagick PNG EXIF data [#​4471](https://togithub.com/python-pillow/Pillow/issues/4471) [radarhere] - Fixed endian handling for I;16 getextrema [#​4457](https://togithub.com/python-pillow/Pillow/issues/4457) [radarhere] - Release buffer if function returns prematurely [#​4381](https://togithub.com/python-pillow/Pillow/issues/4381) [radarhere] - Add JPEG comment to info dictionary [#​4455](https://togithub.com/python-pillow/Pillow/issues/4455) [radarhere] - Fix size calculation of Image.thumbnail() [#​4404](https://togithub.com/python-pillow/Pillow/issues/4404) [orlnub123] - Fixed stroke on FreeType < 2.9 [#​4401](https://togithub.com/python-pillow/Pillow/issues/4401) [radarhere] - If present, only use alpha channel for bounding box [#​4454](https://togithub.com/python-pillow/Pillow/issues/4454) [radarhere] - Warn if an unknown feature is passed to features.check() [#​4438](https://togithub.com/python-pillow/Pillow/issues/4438) [jdufresne] - Fix Name field length when saving IM images [#​4424](https://togithub.com/python-pillow/Pillow/issues/4424) [hugovk, radarhere] - Allow saving of zero quality JPEG images [#​4440](https://togithub.com/python-pillow/Pillow/issues/4440) [radarhere] - Allow explicit zero width to hide outline [#​4334](https://togithub.com/python-pillow/Pillow/issues/4334) [radarhere] - Change ContainerIO return type to match file object mode [#​4297](https://togithub.com/python-pillow/Pillow/issues/4297) [jdufresne, radarhere] - Only draw each polygon pixel once [#​4333](https://togithub.com/python-pillow/Pillow/issues/4333) [radarhere] - Add support for shooting situation Exif IFD tags [#​4398](https://togithub.com/python-pillow/Pillow/issues/4398) [alexagv] - Handle multiple and malformed JPEG APP13 markers [#​4370](https://togithub.com/python-pillow/Pillow/issues/4370) [homm] - Depends: Update libwebp to 1.1.0 [#​4342](https://togithub.com/python-pillow/Pillow/issues/4342), libjpeg to 9d [#​4352](https://togithub.com/python-pillow/Pillow/issues/4352) [radarhere] ### [`v7.0.0`](https://togithub.com/python-pillow/Pillow/blob/master/CHANGES.rst#​700-2020-01-02) [Compare Source](https://togithub.com/python-pillow/Pillow/compare/6.2.2...7.0.0) - Drop support for EOL Python 2.7 [#​4109](https://togithub.com/python-pillow/Pillow/issues/4109) [hugovk, radarhere, jdufresne] - Fix rounding error on RGB to L conversion [#​4320](https://togithub.com/python-pillow/Pillow/issues/4320) [homm] - Exif writing fixes: Rational boundaries and signed/unsigned types [#​3980](https://togithub.com/python-pillow/Pillow/issues/3980) [kkopachev, radarhere] - Allow loading of WMF images at a given DPI [#​4311](https://togithub.com/python-pillow/Pillow/issues/4311) [radarhere] - Added reduce operation [#​4251](https://togithub.com/python-pillow/Pillow/issues/4251) [homm] - Raise ValueError for io.StringIO in Image.open [#​4302](https://togithub.com/python-pillow/Pillow/issues/4302) [radarhere, hugovk] - Fix thumbnail geometry when DCT scaling is used [#​4231](https://togithub.com/python-pillow/Pillow/issues/4231) [homm, radarhere] - Use default DPI when exif provides invalid x_resolution [#​4147](https://togithub.com/python-pillow/Pillow/issues/4147) [beipang2, radarhere] - Change default resize resampling filter from NEAREST to BICUBIC [#​4255](https://togithub.com/python-pillow/Pillow/issues/4255) [homm] - Fixed black lines on upscaled images with the BOX filter [#​4278](https://togithub.com/python-pillow/Pillow/issues/4278) [homm] - Better thumbnail aspect ratio preservation [#​4256](https://togithub.com/python-pillow/Pillow/issues/4256) [homm] - Add La mode packing and unpacking [#​4248](https://togithub.com/python-pillow/Pillow/issues/4248) [homm] - Include tests in coverage reports [#​4173](https://togithub.com/python-pillow/Pillow/issues/4173) [hugovk] - Handle broken Photoshop data [#​4239](https://togithub.com/python-pillow/Pillow/issues/4239) [radarhere] - Raise a specific exception if no data is found for an MPO frame [#​4240](https://togithub.com/python-pillow/Pillow/issues/4240) [radarhere] - Fix Unicode support for PyPy [#​4145](https://togithub.com/python-pillow/Pillow/issues/4145) [nulano] - Added UnidentifiedImageError [#​4182](https://togithub.com/python-pillow/Pillow/issues/4182) [radarhere, hugovk] - Remove deprecated **version** from plugins [#​4197](https://togithub.com/python-pillow/Pillow/issues/4197) [hugovk, radarhere] - Fixed freeing unallocated pointer when resizing with height too large [#​4116](https://togithub.com/python-pillow/Pillow/issues/4116) [radarhere] - Copy info in Image.transform [#​4128](https://togithub.com/python-pillow/Pillow/issues/4128) [radarhere] - Corrected DdsImagePlugin setting info gamma [#​4171](https://togithub.com/python-pillow/Pillow/issues/4171) [radarhere] - Depends: Update libtiff to 4.1.0 [#​4195](https://togithub.com/python-pillow/Pillow/issues/4195), Tk Tcl to 8.6.10 [#​4229](https://togithub.com/python-pillow/Pillow/issues/4229), libimagequant to 2.12.6 [#​4318](https://togithub.com/python-pillow/Pillow/issues/4318) [radarhere] - Improve handling of file resources [#​3577](https://togithub.com/python-pillow/Pillow/issues/3577) [jdufresne] - Removed CI testing of Fedora 29 [#​4165](https://togithub.com/python-pillow/Pillow/issues/4165) [hugovk] - Added pypy3 to tox envlist [#​4137](https://togithub.com/python-pillow/Pillow/issues/4137) [jdufresne] - Drop support for EOL PyQt4 and PySide [#​4108](https://togithub.com/python-pillow/Pillow/issues/4108) [hugovk, radarhere] - Removed deprecated setting of TIFF image sizes [#​4114](https://togithub.com/python-pillow/Pillow/issues/4114) [radarhere] - Removed deprecated PILLOW_VERSION [#​4107](https://togithub.com/python-pillow/Pillow/issues/4107) [hugovk] - Changed default frombuffer raw decoder args [#​1730](https://togithub.com/python-pillow/Pillow/issues/1730) [radarhere] </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). * Simplify noxfile setup. [(#2806)](#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> * Update dependency google-cloud-vision to v1 [(#3227)](#3227) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [google-cloud-vision](https://togithub.com/googleapis/python-vision) | major | `==0.42.0` -> `==1.0.0` | --- ### Release Notes <details> <summary>googleapis/python-vision</summary> ### [`v1.0.0`](https://togithub.com/googleapis/python-vision/blob/master/CHANGELOG.md#​100-httpswwwgithubcomgoogleapispython-visioncomparev0420v100-2020-02-28) [Compare Source](https://togithub.com/googleapis/python-vision/compare/v0.42.0...v1.0.0) ##### Features - bump release status to GA ([#​11](https://www.github.com/googleapis/python-vision/issues/11)) ([2129bde](https://www.github.com/googleapis/python-vision/commit/2129bdedfa0dca85c5adc5350bff10d4a485df77)) </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). * Update dependency pillow to v7.1.1 [(#3263)](#3263) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [pillow](https://python-pillow.org) ([source](https://togithub.com/python-pillow/Pillow)) | patch | `==7.1.0` -> `==7.1.1` | --- ### Release Notes <details> <summary>python-pillow/Pillow</summary> ### [`v7.1.1`](https://togithub.com/python-pillow/Pillow/blob/master/CHANGES.rst#​711-2020-04-02) [Compare Source](https://togithub.com/python-pillow/Pillow/compare/7.1.0...7.1.1) - Fix regression seeking and telling PNGs [#​4512](https://togithub.com/python-pillow/Pillow/issues/4512) [#​4514](https://togithub.com/python-pillow/Pillow/issues/4514) [hugovk, radarhere] </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). * vision: increase timeout for tests [(#3383)](#3383) Fix: #2955 Fix: #2992 * [vision] fix: longer timeout [(#3447)](#3447) fixes #2962 * testing: replace @flaky with @pytest.mark.flaky [(#3496)](#3496) * testing: replace @flaky with @pytest.mark.flaky * lint * mark few tests as flaky that involves LRO polling. * lint * chore(deps): update dependency pillow to v7.1.2 [(#3557)](#3557) * chore(deps): update dependency google-cloud-storage to v1.28.0 [(#3260)](#3260) Co-authored-by: Takashi Matsuo <tmatsuo@google.com> * [vision] fix: add timeout for LRO result and mark it as flaky [(#3684)](#3684) fixes #3674 * [vision] fix: mark a test as flaky [(#3709)](#3709) fixes #3702 * chore: some lint fixes [(#3751)](#3751) * chore: some lint fixes * longer timeout, more retries * disable detect_test.py::test_async_detect_document * [vision] testing: retry upon errors [(#3764)](#3764) fixes #3734 I only wrapped some of the tests. Potentially we can do it for everything. * [vision] testing: re-enable test_async_detect_document [(#3761)](#3761) fixes #3753 also made the data PDF to be smaller. * chore(deps): update dependency google-cloud-storage to v1.28.1 [(#3785)](#3785) * chore(deps): update dependency google-cloud-storage to v1.28.1 * [asset] testing: use uuid instead of time Co-authored-by: Takashi Matsuo <tmatsuo@google.com> * Replace GCLOUD_PROJECT with GOOGLE_CLOUD_PROJECT. [(#4022)](#4022) * chore(deps): update dependency google-cloud-storage to v1.29.0 [(#4040)](#4040) * chore(deps): update dependency pillow to v7.2.0 [(#4208)](#4208) * testing(vision): use different ids for test functions [(#4227)](#4227) fixes #4224 * chore(deps): update dependency pytest to v5.4.3 [(#4279)](#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> * Update dependency flaky to v3.7.0 [(#4300)](#4300) * Update dependency google-cloud-storage to v1.30.0 * Update dependency pytest to v6 [(#4390)](#4390) * feat: fixed doc string comment mismatch in Product Search [(#4432)](#4432) Changes documentation string for a GCS example from `file_path` to `image_uri`. * chore(deps): update dependency google-cloud-storage to v1.31.0 [(#4564)](#4564) Co-authored-by: Takashi Matsuo <tmatsuo@google.com> * chore: update templates Co-authored-by: Jason Dobry <jmdobry@users.noreply.github.com> Co-authored-by: Jon Wayne Parrott <jonwayne@google.com> Co-authored-by: DPE bot <dpebot@google.com> Co-authored-by: Gus Class <gguuss@gmail.com> Co-authored-by: Brent Shaffer <betterbrent@google.com> Co-authored-by: Bill Prin <waprin@gmail.com> Co-authored-by: Yu-Han Liu <dizcology@hotmail.com> Co-authored-by: michaelawyu <chenyumic@google.com> Co-authored-by: Rebecca Taylor <remilytaylor@gmail.com> Co-authored-by: Frank Natividad <frankyn@users.noreply.github.com> Co-authored-by: Noah Negrey <nnegrey@users.noreply.github.com> Co-authored-by: Jeffrey Rennie <rennie@google.com> Co-authored-by: Tim Swast <swast@google.com> Co-authored-by: Alix Hamilton <ajhamilton@google.com> Co-authored-by: Rebecca Taylor <becca@becca.me> Co-authored-by: Krissda Prakalphakul <5546755+krissdap@users.noreply.github.com> Co-authored-by: Peshmerge <peshmerge@users.noreply.github.com> Co-authored-by: navinger <navinger2003@gmail.com> Co-authored-by: Charles Engelke <github@engelke.com> Co-authored-by: shollyman <shollyman@google.com> Co-authored-by: Shahin <happyhuman@users.noreply.github.com> Co-authored-by: Charles Engelke <engelke@google.com> Co-authored-by: Agnel Vishal <agnelvishal@gmail.com> Co-authored-by: Grega Kespret <grega.kespret@gmail.com> Co-authored-by: Da-Woon Chung <dorapen@gmail.com> Co-authored-by: Yu-Han Liu <yuhanliu@google.com> Co-authored-by: Torry Yang <sirtorry@users.noreply.github.com> Co-authored-by: Kurtis Van Gent <31518063+kurtisvg@users.noreply.github.com> Co-authored-by: Doug Mahugh <dmahugh@gmail.com> Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com> Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com> Co-authored-by: Michelle Casbon <texasmichelle@users.noreply.github.com> Co-authored-by: WhiteSource Renovate <bot@renovateapp.com> Co-authored-by: Leah Cole <coleleah@google.com> Co-authored-by: Cameron Zahedi <czahedi@google.com> Co-authored-by: Takashi Matsuo <tmatsuo@google.com> Co-authored-by: Eric Schmidt <erschmid@google.com>
* feat: Add an enum value for raw locations from Apple platforms PiperOrigin-RevId: 476961484 Source-Link: googleapis/googleapis@695134b Source-Link: googleapis/googleapis-gen@49457f9 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDk0NTdmOWU3YWFlODljZmUwNDkxYWY0ZGJkOTk2MWE5MDEyNWQzMiJ9 * 🦉 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 <partheniou@google.com>
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [google-cloud-translate](https://togithub.com/googleapis/python-translate) | patch | `==3.0.0` -> `==3.0.1` | --- ### Release Notes <details> <summary>googleapis/python-translate</summary> ### [`v3.0.1`](https://togithub.com/googleapis/python-translate/blob/master/CHANGELOG.md#​301-httpswwwgithubcomgoogleapispython-translatecomparev300v301-2020-08-08) [Compare Source](https://togithub.com/googleapis/python-translate/compare/v3.0.0...v3.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**: 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-translate).
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [google-cloud-translate](https://togithub.com/googleapis/python-translate) | patch | `==3.0.0` -> `==3.0.1` | --- ### Release Notes <details> <summary>googleapis/python-translate</summary> ### [`v3.0.1`](https://togithub.com/googleapis/python-translate/blob/master/CHANGELOG.md#​301-httpswwwgithubcomgoogleapispython-translatecomparev300v301-2020-08-08) [Compare Source](https://togithub.com/googleapis/python-translate/compare/v3.0.0...v3.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**: 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-translate).
* add noxfile and requirements.txt * refactor requirements.txt * add newline * add newline * add newline
* add noxfile and requirements.txt * refactor requirements.txt * add newline * add newline * add newline
* add noxfile and requirements.txt * refactor requirements.txt * add newline * add newline * add newline
…ontact-center-insights (#8996) * samples: enable pubsub notifications (#13) * samples: initial update pubsub notifications samples * Make the sample closely resemble the public Curl snippet * Rearrange tech writer tags * Clean up tests * move region tags * use fstring * use built-in settings path builder * remove region tag from helper function * Fix code samples according to review * add pytest to requirements-test.txt * Use double quotes for consistency * Assert message in test * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * reorder import groups * lint * Use pytest fixture and autoformat with Nox * disable pubsub notifications when tearing down test Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Eric Schmidt <erschmid@google.com> * chore(deps): update all dependencies (#39) * chore(deps): update all dependencies * 🦉 Updates from OwlBot 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> * chore(deps): update dependency google-cloud-pubsub to v2.8.0 (#40) * samples: export data to BigQuery (#45) * feat: filter is used to filter conversations used for issue model training feat: update_time is used to indicate when the phrase matcher was updated (#48) * samples: create custom highlights (#15) * samples: set project-level TTL (#23) * samples: create topic model (#28) * samples: create conversation (#42) * samples: create analysis (#44) * samples: create conversation with TTL (#43) * samples: get operation (#24) * chore: release 0.3.1 (#52) :robot: I have created a release \*beep\* \*boop\* --- ### [0.3.1](https://www.github.com/googleapis/python-contact-center-insights/compare/v0.3.0...v0.3.1) (2021-09-24) ### Bug Fixes * add 'dict' annotation type to 'request' ([94e64ac](https://www.github.com/googleapis/python-contact-center-insights/commit/94e64acc866eeed789768c2e216dad3f561c81e3)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). * chore: Update owlbot.py (#53) * Update owlbot.py Update copyright year to unblock googleapis/python-contact-center-insights#46 https://github.com/googleapis/python-contact-center-insights/pull/46/files#r717178756 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: edit owlbot.py copyright yeat chore: Update copyright year to unblock #46 https://github.com/googleapis/python-contact-center-insights/pull/46/files#r717178756 Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> * chore(deps): update all dependencies (#46) * chore(deps): update dependency google-auth to v2.2.1 (#55) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [google-auth](https://togithub.com/googleapis/google-auth-library-python) | `==2.2.0` -> `==2.2.1` | [![age](https://badges.renovateapi.com/packages/pypi/google-auth/2.2.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-auth/2.2.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-auth/2.2.1/compatibility-slim/2.2.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-auth/2.2.1/confidence-slim/2.2.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/google-auth-library-python</summary> ### [`v2.2.1`](https://togithub.com/googleapis/google-auth-library-python/blob/master/CHANGELOG.md#​221-httpswwwgithubcomgoogleapisgoogle-auth-library-pythoncomparev220v221-2021-09-28) [Compare Source](https://togithub.com/googleapis/google-auth-library-python/compare/v2.2.0...v2.2.1) </details> --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **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-contact-center-insights). * chore(deps): update dependency google-cloud-contact-center-insights to v0.4.0 (#57) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [google-cloud-contact-center-insights](https://togithub.com/googleapis/python-contact-center-insights) | `==0.3.1` -> `==0.4.0` | [![age](https://badges.renovateapi.com/packages/pypi/google-cloud-contact-center-insights/0.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-cloud-contact-center-insights/0.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-cloud-contact-center-insights/0.4.0/compatibility-slim/0.3.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-cloud-contact-center-insights/0.4.0/confidence-slim/0.3.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/python-contact-center-insights</summary> ### [`v0.4.0`](https://togithub.com/googleapis/python-contact-center-insights/blob/master/CHANGELOG.md#​040-httpswwwgithubcomgoogleapispython-contact-center-insightscomparev031v040-2021-09-29) [Compare Source](https://togithub.com/googleapis/python-contact-center-insights/compare/v0.3.1...v0.4.0) ##### Features - add metadata from dialogflow related to transcript segment ([#​54](https://www.togithub.com/googleapis/python-contact-center-insights/issues/54)) ([ef575cf](https://www.github.com/googleapis/python-contact-center-insights/commit/ef575cf076376261c784b9c3332ef2befa1a11d9)) - add obfuscated if from dialogflow ([ef575cf](https://www.github.com/googleapis/python-contact-center-insights/commit/ef575cf076376261c784b9c3332ef2befa1a11d9)) - add sentiment data for transcript segment ([ef575cf](https://www.github.com/googleapis/python-contact-center-insights/commit/ef575cf076376261c784b9c3332ef2befa1a11d9)) ##### [0.3.1](https://www.github.com/googleapis/python-contact-center-insights/compare/v0.3.0...v0.3.1) (2021-09-24) ##### Bug Fixes - add 'dict' annotation type to 'request' ([94e64ac](https://www.github.com/googleapis/python-contact-center-insights/commit/94e64acc866eeed789768c2e216dad3f561c81e3)) </details> --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **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-contact-center-insights). * chore: fail samples nox session if python version is missing (#60) * chore(deps): update dependency google-cloud-bigquery to v2.28.0 (#61) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [google-cloud-bigquery](https://togithub.com/googleapis/python-bigquery) | `==2.27.1` -> `==2.28.0` | [![age](https://badges.renovateapi.com/packages/pypi/google-cloud-bigquery/2.28.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-cloud-bigquery/2.28.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-cloud-bigquery/2.28.0/compatibility-slim/2.27.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-cloud-bigquery/2.28.0/confidence-slim/2.27.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/python-bigquery</summary> ### [`v2.28.0`](https://togithub.com/googleapis/python-bigquery/blob/master/CHANGELOG.md#​2280-httpswwwgithubcomgoogleapispython-bigquerycomparev2271v2280-2021-09-30) [Compare Source](https://togithub.com/googleapis/python-bigquery/compare/v2.27.1...v2.28.0) ##### Features - add `AvroOptions` to configure AVRO external data ([#​994](https://www.togithub.com/googleapis/python-bigquery/issues/994)) ([1a9431d](https://www.github.com/googleapis/python-bigquery/commit/1a9431d9e02eeb99e4712b61c623f9cca80134a6)) ##### Documentation - link to stable pandas docs ([#​990](https://www.togithub.com/googleapis/python-bigquery/issues/990)) ([ea50e80](https://www.github.com/googleapis/python-bigquery/commit/ea50e8031fc035b3772a338bc00982de263cefad)) ##### [2.27.1](https://www.github.com/googleapis/python-bigquery/compare/v2.27.0...v2.27.1) (2021-09-27) ##### Bug Fixes - remove py.typed since package fails mypy check ([#​988](https://www.togithub.com/googleapis/python-bigquery/issues/988)) ([39030f2](https://www.github.com/googleapis/python-bigquery/commit/39030f26ce081cfacd456b84694c68e3f04ed48d)) </details> --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **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-contact-center-insights). * chore(deps): update dependency google-cloud-contact-center-insights to v0.5.0 (#65) Co-authored-by: nicain <nicain.seattle@gmail.com> * chore(deps): update all dependencies (#67) * chore(python): Add kokoro configs for python 3.10 samples testing (#71) * chore(deps): update all dependencies (#69) Co-authored-by: Anthonios Partheniou <partheniou@google.com> * chore(deps): update all dependencies (#74) * chore: delete owlbot.py (#75) * chore: delete owlbot.py * 🦉 Updates from OwlBot 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> * chore(deps): update dependency protobuf to v3.19.0 (#77) * chore(deps): update dependency google-auth to v2.3.1 (#78) * chore(deps): update dependency google-api-core to v2.2.0 (#81) * chore(deps): update dependency google-auth to v2.3.2 (#82) * chore(deps): update dependency google-cloud-bigquery to v2.29.0 (#83) * chore(deps): update all dependencies (#84) * chore(deps): update dependency google-auth to v2.3.3 (#87) * chore(deps): update dependency google-cloud-contact-center-insights to v0.6.1 (#88) * chore(deps): update dependency google-api-core to v2.2.2 (#90) Co-authored-by: Anthonios Partheniou <partheniou@google.com> * chore(deps): update all dependencies (#92) * chore(deps): update all dependencies (#94) * chore(deps): update all dependencies * 🦉 Updates from OwlBot 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 <partheniou@google.com> * chore(deps): update dependency google-cloud-contact-center-insights to v1.1.0 (#98) * chore(deps): update dependency google-cloud-pubsub to v2.9.0 (#100) * chore(deps): update dependency google-cloud-bigquery to v2.31.0 (#106) * chore(deps): update dependency google-api-core to v2.3.0 (#108) * chore(python): fix undefined name 'glob' in samples noxfile (#116) 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> * chore(python): Noxfile recognizes that tests can live in a folder (#122) 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> * chore: use gapic-generator-python 0.63.2 (#131) * chore: use gapic-generator-python 0.63.2 docs: add generated snippets PiperOrigin-RevId: 427792504 Source-Link: googleapis/googleapis@55b9e1e Source-Link: googleapis/googleapis-gen@bf4e86b Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYmY0ZTg2Yjc1M2Y0MmNiMGVkYjFmZDUxZmJlODQwZDdkYTBhMWNkZSJ9 * 🦉 Updates from OwlBot 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> * chore: use gapic-generator-python 0.63.4 (#132) * chore: use gapic-generator-python 0.63.4 chore: fix snippet region tag format chore: fix docstring code block formatting PiperOrigin-RevId: 430730865 Source-Link: googleapis/googleapis@ea58002 Source-Link: googleapis/googleapis-gen@ca893ff Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2E4OTNmZjhhZjI1ZmM3ZmUwMDFkZTE0MDVhNTE3ZDgwNDQ2ZWNjYSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: delete duplicates Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com> * chore: update copyright year to 2022 (#133) * chore: update copyright year to 2022 PiperOrigin-RevId: 431037888 Source-Link: googleapis/googleapis@b3397f5 Source-Link: googleapis/googleapis-gen@510b54e Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTEwYjU0ZTFjZGVmZDUzMTczOTg0ZGYxNjY0NTA4MTMwOGZlODk3ZSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 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> * fix(deps): require google-api-core>=1.31.5, >=2.3.2 (#136) * chore: Adding support for pytest-xdist and pytest-parallel (#137) 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 <partheniou@google.com> * chore(deps): update all dependencies (#140) * chore(deps): update all dependencies (#141) * chore(deps): update dependency google-api-core to v2.7.0 (#142) * chore(deps): update all dependencies (#143) * chore(deps): update dependency pytest to v7.1.0 (#144) * chore(deps): update all dependencies (#145) * chore(python): use black==22.3.0 (#147) Source-Link: googleapis/synthtool@6fab84a Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:7cffbc10910c3ab1b852c05114a08d374c195a81cdec1d4a67a1d129331d0bfe * chore(deps): update dependency google-cloud-bigquery to v3 (#148) * chore(deps): update dependency protobuf to v3.20.0 (#153) * chore(deps): update dependency google-cloud-pubsub to v2.12.0 (#155) * chore(deps): update dependency google-auth to v2.6.3 (#157) * chore(deps): update dependency google-auth to v2.6.4 (#160) * chore(deps): update dependency google-api-core to v2.7.2 (#161) * chore: use gapic-generator-python 0.65.1 (#162) * chore: use gapic-generator-python 0.65.1 PiperOrigin-RevId: 441524537 Source-Link: googleapis/googleapis@2a27391 Source-Link: googleapis/googleapis-gen@ab6756a Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWI2NzU2YTQ4Yzg5YjViY2I5ZmI3MzQ0M2NiOGU1NWQ1NzRmNDY0MyJ9 * 🦉 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 <partheniou@google.com> * chore(deps): update dependency google-auth to v2.6.5 (#163) * chore(python): add nox session to sort python imports (#164) 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> * chore(deps): update all dependencies (#167) * chore(deps): update dependency pytest to v7.1.2 (#168) * samples: Add docstring to all code samples (#171) * samples: Add docstring to all code samples * 🦉 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> * chore(deps): update dependency google-api-core to v2.7.3 (#172) * chore(deps): update dependency google-cloud-bigquery to v3.1.0 (#176) * chore(deps): update dependency google-cloud-pubsub to v2.12.1 (#177) * chore(deps): update dependency google-api-core to v2.8.0 (#178) * chore(deps): update dependency google-api-core to v2.8.1 (#196) * fix: require python 3.7+ (#209) * chore(python): drop python 3.6 Source-Link: googleapis/synthtool@4f89b13 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:e7bb19d47c13839fe8c147e50e02e8b6cf5da8edd1af8b82208cd6f66cc2829c * add api_description to .repo-metadata.json * require python 3.7+ in setup.py * remove python 3.6 sample configs * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * fix typo * 🦉 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 <partheniou@google.com> * chore(deps): update all dependencies (#204) * 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 * revert * revert Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com> * chore(deps): update all dependencies (#217) * 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 * remove protobuf * remove protobuf Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com> * chore(deps): update all dependencies (#219) * 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 <partheniou@google.com> * chore(deps): update all dependencies (#220) * 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 <partheniou@google.com> * chore(deps): update dependency google-cloud-pubsub to v2.13.5 (#222) * chore(deps): update dependency google-cloud-pubsub to v2.13.6 (#225) * chore(deps): update all dependencies (#228) * chore(deps): update dependency google-auth to v2.11.0 (#229) Co-authored-by: Anthonios Partheniou <partheniou@google.com> * chore(deps): update dependency google-cloud-contact-center-insights to v1.4.3 (#232) * chore(deps): update dependency google-api-core to v2.10.0 (#238) * chore(deps): update dependency google-api-core to v2.10.0 * revert Co-authored-by: Anthonios Partheniou <partheniou@google.com> * chore(deps): update dependency pytest to v7.1.3 (#242) * chore: Bump gapic-generator-python version to 1.3.0 (#243) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 472561635 Source-Link: googleapis/googleapis@332ecf5 Source-Link: googleapis/googleapis-gen@4313d68 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDMxM2Q2ODI4ODBmZDlkNzI0NzI5MTE2NGQ0ZTlkM2Q1YmQ5ZjE3NyJ9 * chore: detect samples tests in nested directories (#246) Source-Link: googleapis/synthtool@50db768 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:e09366bdf0fd9c8976592988390b24d53583dd9f002d476934da43725adbb978 * chore(deps): update dependency google-api-core to v2.10.1 (#247) * chore(deps): update dependency google-auth to v2.11.1 (#248) * chore(deps): update all dependencies (#249) Co-authored-by: Anthonios Partheniou <partheniou@google.com> * chore(deps): update dependency google-cloud-contact-center-insights to v1.4.4 (#252) * chore(deps): update dependency google-api-core to v2.10.2 (#255) * chore(deps): update dependency google-cloud-contact-center-insights to v1.4.5 (#256) * chore(deps): update all dependencies (#257) * chore(deps): update dependency pytest to v7.2.0 (#258) * chore(deps): update dependency google-auth to v2.14.0 (#260) * chore(deps): update all dependencies (#261) * chore: Update gapic-generator-python to v1.6.1 (#259) * chore: update to gapic-generator-python 1.5.0 feat: add support for `google.cloud.<api>.__version__` PiperOrigin-RevId: 484665853 Source-Link: googleapis/googleapis@8eb249a Source-Link: googleapis/googleapis-gen@c8aa327 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzhhYTMyN2I1ZjQ3ODg2NWZjM2ZkOTFlM2MyNzY4ZTU0ZTI2YWQ0NCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * update version in gapic_version.py * add .release-please-manifest.json with correct version * add owlbot.py to exclude generated gapic_version.py * set manifest to true in .github/release-please.yml * add release-please-config.json * chore: Update to gapic-generator-python 1.6.0 feat(python): Add typing to proto.Message based class attributes feat(python): Snippetgen handling of repeated enum field PiperOrigin-RevId: 487326846 Source-Link: googleapis/googleapis@da380c7 Source-Link: googleapis/googleapis-gen@61ef576 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjFlZjU3NjJlZTY3MzFhMGNiYmZlYTIyZmQwZWVjZWU1MWFiMWM4ZSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: new APIs added to reflect updates to the filestore service - Add ENTERPRISE Tier - Add snapshot APIs: RevertInstance, ListSnapshots, CreateSnapshot, DeleteSnapshot, UpdateSnapshot - Add multi-share APIs: ListShares, GetShare, CreateShare, DeleteShare, UpdateShare - Add ConnectMode to NetworkConfig (for Private Service Access support) - New status codes (SUSPENDED/SUSPENDING, REVERTING/RESUMING) - Add SuspensionReason (for KMS related suspension) - Add new fields to Instance information: max_capacity_gb, capacity_step_size_gb, max_share_count, capacity_gb, multi_share_enabled PiperOrigin-RevId: 487492758 Source-Link: googleapis/googleapis@5be5981 Source-Link: googleapis/googleapis-gen@ab0e217 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWIwZTIxN2Y1NjBjYzJjMWFmYzExNDQxYzJlYWI2YjY5NTBlZmQyYiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * update path to snippet metadata json * chore: Update gapic-generator-python to v1.6.1 PiperOrigin-RevId: 488036204 Source-Link: googleapis/googleapis@08f275f Source-Link: googleapis/googleapis-gen@555c094 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTU1YzA5NDVlNjA2NDllMzg3MzlhZTY0YmM0NTcxOWNkZjcyMTc4ZiJ9 * 🦉 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 <partheniou@google.com> * chore(python): drop flake8-import-order in samples noxfile (#266) 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> * fix(deps): Require google-api-core >=1.34.0, >=2.11.0 (#268) * fix(deps): Require google-api-core >=1.34.0, >=2.11.0 fix: Drop usage of pkg_resources fix: Fix timeout default values docs(samples): Snippetgen should call await on the operation coroutine before calling result PiperOrigin-RevId: 493260409 Source-Link: googleapis/googleapis@fea4387 Source-Link: googleapis/googleapis-gen@387b734 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMzg3YjczNDRjNzUyOWVlNDRiZTg0ZTYxM2IxOWE4MjA1MDhjNjEyYiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * add gapic_version.py Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com> * feat: add Configurable Analysis, Bulk Upload, Bulk Analyze, Delete Issue Apis (#270) * feat: add Configurable Analysis, Bulk Upload, Bulk Analyze, Delete Issue Apis PiperOrigin-RevId: 495057883 Source-Link: googleapis/googleapis@59a66eb Source-Link: googleapis/googleapis-gen@9e7f289 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOWU3ZjI4OWM2YzZlNGZkNWY2M2I2ZGNmZWUwZDI3MmFiMWRjYTFkZSJ9 * 🦉 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> * chore(deps): update all dependencies (#267) Co-authored-by: Anthonios Partheniou <partheniou@google.com> * chore(main): release 1.5.0 (#265) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> * chore(deps): update dependency google-cloud-contact-center-insights to v1.5.0 (#271) * chore(python): add support for python 3.11 (#272) 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> * chore(deps): update dependency google-auth to v2.16.0 (#273) * feat: Add support for python 3.11 (#274) * feat: Add support for python 3.11 chore: Update gapic-generator-python to v1.8.0 PiperOrigin-RevId: 500768693 Source-Link: googleapis/googleapis@190b612 Source-Link: googleapis/googleapis-gen@7bf29a4 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiN2JmMjlhNDE0YjllY2FjMzE3MGYwYjY1YmRjMmE5NTcwNWMwZWYxYSJ9 * 🦉 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> * chore(main): release 1.6.0 (#275) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> * chore(deps): update dependency google-cloud-pubsub to v2.13.12 (#276) * chore(deps): update dependency google-cloud-contact-center-insights to v1.6.0 (#277) * chore(deps): update dependency pytest to v7.2.1 (#278) * removed 'generated_samples' * trying to add noxfile * noxfile Co-authored-by: Bamboo Le <8941262+TrucHLe@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: WhiteSource Renovate <renovate@whitesourcesoftware.com> Co-authored-by: WhiteSource Renovate <bot@renovateapp.com> Co-authored-by: gcf-owl-bot[bot] <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: nicain <nicain.seattle@gmail.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com> Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
…ontact-center-insights (#8996) * samples: enable pubsub notifications (#13) * samples: initial update pubsub notifications samples * Make the sample closely resemble the public Curl snippet * Rearrange tech writer tags * Clean up tests * move region tags * use fstring * use built-in settings path builder * remove region tag from helper function * Fix code samples according to review * add pytest to requirements-test.txt * Use double quotes for consistency * Assert message in test * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * reorder import groups * lint * Use pytest fixture and autoformat with Nox * disable pubsub notifications when tearing down test Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Eric Schmidt <erschmid@google.com> * chore(deps): update all dependencies (#39) * chore(deps): update all dependencies * 🦉 Updates from OwlBot 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> * chore(deps): update dependency google-cloud-pubsub to v2.8.0 (#40) * samples: export data to BigQuery (#45) * feat: filter is used to filter conversations used for issue model training feat: update_time is used to indicate when the phrase matcher was updated (#48) * samples: create custom highlights (#15) * samples: set project-level TTL (#23) * samples: create topic model (#28) * samples: create conversation (#42) * samples: create analysis (#44) * samples: create conversation with TTL (#43) * samples: get operation (#24) * chore: release 0.3.1 (#52) :robot: I have created a release \*beep\* \*boop\* --- ### [0.3.1](https://www.github.com/googleapis/python-contact-center-insights/compare/v0.3.0...v0.3.1) (2021-09-24) ### Bug Fixes * add 'dict' annotation type to 'request' ([94e64ac](https://www.github.com/googleapis/python-contact-center-insights/commit/94e64acc866eeed789768c2e216dad3f561c81e3)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). * chore: Update owlbot.py (#53) * Update owlbot.py Update copyright year to unblock googleapis/python-contact-center-insights#46 https://github.com/googleapis/python-contact-center-insights/pull/46/files#r717178756 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: edit owlbot.py copyright yeat chore: Update copyright year to unblock #46 https://github.com/googleapis/python-contact-center-insights/pull/46/files#r717178756 Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> * chore(deps): update all dependencies (#46) * chore(deps): update dependency google-auth to v2.2.1 (#55) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [google-auth](https://togithub.com/googleapis/google-auth-library-python) | `==2.2.0` -> `==2.2.1` | [![age](https://badges.renovateapi.com/packages/pypi/google-auth/2.2.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-auth/2.2.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-auth/2.2.1/compatibility-slim/2.2.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-auth/2.2.1/confidence-slim/2.2.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/google-auth-library-python</summary> ### [`v2.2.1`](https://togithub.com/googleapis/google-auth-library-python/blob/master/CHANGELOG.md#​221-httpswwwgithubcomgoogleapisgoogle-auth-library-pythoncomparev220v221-2021-09-28) [Compare Source](https://togithub.com/googleapis/google-auth-library-python/compare/v2.2.0...v2.2.1) </details> --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **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-contact-center-insights). * chore(deps): update dependency google-cloud-contact-center-insights to v0.4.0 (#57) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [google-cloud-contact-center-insights](https://togithub.com/googleapis/python-contact-center-insights) | `==0.3.1` -> `==0.4.0` | [![age](https://badges.renovateapi.com/packages/pypi/google-cloud-contact-center-insights/0.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-cloud-contact-center-insights/0.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-cloud-contact-center-insights/0.4.0/compatibility-slim/0.3.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-cloud-contact-center-insights/0.4.0/confidence-slim/0.3.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/python-contact-center-insights</summary> ### [`v0.4.0`](https://togithub.com/googleapis/python-contact-center-insights/blob/master/CHANGELOG.md#​040-httpswwwgithubcomgoogleapispython-contact-center-insightscomparev031v040-2021-09-29) [Compare Source](https://togithub.com/googleapis/python-contact-center-insights/compare/v0.3.1...v0.4.0) ##### Features - add metadata from dialogflow related to transcript segment ([#​54](https://www.togithub.com/googleapis/python-contact-center-insights/issues/54)) ([ef575cf](https://www.github.com/googleapis/python-contact-center-insights/commit/ef575cf076376261c784b9c3332ef2befa1a11d9)) - add obfuscated if from dialogflow ([ef575cf](https://www.github.com/googleapis/python-contact-center-insights/commit/ef575cf076376261c784b9c3332ef2befa1a11d9)) - add sentiment data for transcript segment ([ef575cf](https://www.github.com/googleapis/python-contact-center-insights/commit/ef575cf076376261c784b9c3332ef2befa1a11d9)) ##### [0.3.1](https://www.github.com/googleapis/python-contact-center-insights/compare/v0.3.0...v0.3.1) (2021-09-24) ##### Bug Fixes - add 'dict' annotation type to 'request' ([94e64ac](https://www.github.com/googleapis/python-contact-center-insights/commit/94e64acc866eeed789768c2e216dad3f561c81e3)) </details> --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **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-contact-center-insights). * chore: fail samples nox session if python version is missing (#60) * chore(deps): update dependency google-cloud-bigquery to v2.28.0 (#61) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [google-cloud-bigquery](https://togithub.com/googleapis/python-bigquery) | `==2.27.1` -> `==2.28.0` | [![age](https://badges.renovateapi.com/packages/pypi/google-cloud-bigquery/2.28.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-cloud-bigquery/2.28.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-cloud-bigquery/2.28.0/compatibility-slim/2.27.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-cloud-bigquery/2.28.0/confidence-slim/2.27.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/python-bigquery</summary> ### [`v2.28.0`](https://togithub.com/googleapis/python-bigquery/blob/master/CHANGELOG.md#​2280-httpswwwgithubcomgoogleapispython-bigquerycomparev2271v2280-2021-09-30) [Compare Source](https://togithub.com/googleapis/python-bigquery/compare/v2.27.1...v2.28.0) ##### Features - add `AvroOptions` to configure AVRO external data ([#​994](https://www.togithub.com/googleapis/python-bigquery/issues/994)) ([1a9431d](https://www.github.com/googleapis/python-bigquery/commit/1a9431d9e02eeb99e4712b61c623f9cca80134a6)) ##### Documentation - link to stable pandas docs ([#​990](https://www.togithub.com/googleapis/python-bigquery/issues/990)) ([ea50e80](https://www.github.com/googleapis/python-bigquery/commit/ea50e8031fc035b3772a338bc00982de263cefad)) ##### [2.27.1](https://www.github.com/googleapis/python-bigquery/compare/v2.27.0...v2.27.1) (2021-09-27) ##### Bug Fixes - remove py.typed since package fails mypy check ([#​988](https://www.togithub.com/googleapis/python-bigquery/issues/988)) ([39030f2](https://www.github.com/googleapis/python-bigquery/commit/39030f26ce081cfacd456b84694c68e3f04ed48d)) </details> --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **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-contact-center-insights). * chore(deps): update dependency google-cloud-contact-center-insights to v0.5.0 (#65) Co-authored-by: nicain <nicain.seattle@gmail.com> * chore(deps): update all dependencies (#67) * chore(python): Add kokoro configs for python 3.10 samples testing (#71) * chore(deps): update all dependencies (#69) Co-authored-by: Anthonios Partheniou <partheniou@google.com> * chore(deps): update all dependencies (#74) * chore: delete owlbot.py (#75) * chore: delete owlbot.py * 🦉 Updates from OwlBot 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> * chore(deps): update dependency protobuf to v3.19.0 (#77) * chore(deps): update dependency google-auth to v2.3.1 (#78) * chore(deps): update dependency google-api-core to v2.2.0 (#81) * chore(deps): update dependency google-auth to v2.3.2 (#82) * chore(deps): update dependency google-cloud-bigquery to v2.29.0 (#83) * chore(deps): update all dependencies (#84) * chore(deps): update dependency google-auth to v2.3.3 (#87) * chore(deps): update dependency google-cloud-contact-center-insights to v0.6.1 (#88) * chore(deps): update dependency google-api-core to v2.2.2 (#90) Co-authored-by: Anthonios Partheniou <partheniou@google.com> * chore(deps): update all dependencies (#92) * chore(deps): update all dependencies (#94) * chore(deps): update all dependencies * 🦉 Updates from OwlBot 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 <partheniou@google.com> * chore(deps): update dependency google-cloud-contact-center-insights to v1.1.0 (#98) * chore(deps): update dependency google-cloud-pubsub to v2.9.0 (#100) * chore(deps): update dependency google-cloud-bigquery to v2.31.0 (#106) * chore(deps): update dependency google-api-core to v2.3.0 (#108) * chore(python): fix undefined name 'glob' in samples noxfile (#116) 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> * chore(python): Noxfile recognizes that tests can live in a folder (#122) 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> * chore: use gapic-generator-python 0.63.2 (#131) * chore: use gapic-generator-python 0.63.2 docs: add generated snippets PiperOrigin-RevId: 427792504 Source-Link: googleapis/googleapis@55b9e1e Source-Link: googleapis/googleapis-gen@bf4e86b Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYmY0ZTg2Yjc1M2Y0MmNiMGVkYjFmZDUxZmJlODQwZDdkYTBhMWNkZSJ9 * 🦉 Updates from OwlBot 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> * chore: use gapic-generator-python 0.63.4 (#132) * chore: use gapic-generator-python 0.63.4 chore: fix snippet region tag format chore: fix docstring code block formatting PiperOrigin-RevId: 430730865 Source-Link: googleapis/googleapis@ea58002 Source-Link: googleapis/googleapis-gen@ca893ff Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2E4OTNmZjhhZjI1ZmM3ZmUwMDFkZTE0MDVhNTE3ZDgwNDQ2ZWNjYSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: delete duplicates Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com> * chore: update copyright year to 2022 (#133) * chore: update copyright year to 2022 PiperOrigin-RevId: 431037888 Source-Link: googleapis/googleapis@b3397f5 Source-Link: googleapis/googleapis-gen@510b54e Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTEwYjU0ZTFjZGVmZDUzMTczOTg0ZGYxNjY0NTA4MTMwOGZlODk3ZSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 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> * fix(deps): require google-api-core>=1.31.5, >=2.3.2 (#136) * chore: Adding support for pytest-xdist and pytest-parallel (#137) 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 <partheniou@google.com> * chore(deps): update all dependencies (#140) * chore(deps): update all dependencies (#141) * chore(deps): update dependency google-api-core to v2.7.0 (#142) * chore(deps): update all dependencies (#143) * chore(deps): update dependency pytest to v7.1.0 (#144) * chore(deps): update all dependencies (#145) * chore(python): use black==22.3.0 (#147) Source-Link: googleapis/synthtool@6fab84a Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:7cffbc10910c3ab1b852c05114a08d374c195a81cdec1d4a67a1d129331d0bfe * chore(deps): update dependency google-cloud-bigquery to v3 (#148) * chore(deps): update dependency protobuf to v3.20.0 (#153) * chore(deps): update dependency google-cloud-pubsub to v2.12.0 (#155) * chore(deps): update dependency google-auth to v2.6.3 (#157) * chore(deps): update dependency google-auth to v2.6.4 (#160) * chore(deps): update dependency google-api-core to v2.7.2 (#161) * chore: use gapic-generator-python 0.65.1 (#162) * chore: use gapic-generator-python 0.65.1 PiperOrigin-RevId: 441524537 Source-Link: googleapis/googleapis@2a27391 Source-Link: googleapis/googleapis-gen@ab6756a Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWI2NzU2YTQ4Yzg5YjViY2I5ZmI3MzQ0M2NiOGU1NWQ1NzRmNDY0MyJ9 * 🦉 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 <partheniou@google.com> * chore(deps): update dependency google-auth to v2.6.5 (#163) * chore(python): add nox session to sort python imports (#164) 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> * chore(deps): update all dependencies (#167) * chore(deps): update dependency pytest to v7.1.2 (#168) * samples: Add docstring to all code samples (#171) * samples: Add docstring to all code samples * 🦉 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> * chore(deps): update dependency google-api-core to v2.7.3 (#172) * chore(deps): update dependency google-cloud-bigquery to v3.1.0 (#176) * chore(deps): update dependency google-cloud-pubsub to v2.12.1 (#177) * chore(deps): update dependency google-api-core to v2.8.0 (#178) * chore(deps): update dependency google-api-core to v2.8.1 (#196) * fix: require python 3.7+ (#209) * chore(python): drop python 3.6 Source-Link: googleapis/synthtool@4f89b13 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:e7bb19d47c13839fe8c147e50e02e8b6cf5da8edd1af8b82208cd6f66cc2829c * add api_description to .repo-metadata.json * require python 3.7+ in setup.py * remove python 3.6 sample configs * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * fix typo * 🦉 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 <partheniou@google.com> * chore(deps): update all dependencies (#204) * 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 * revert * revert Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com> * chore(deps): update all dependencies (#217) * 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 * remove protobuf * remove protobuf Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com> * chore(deps): update all dependencies (#219) * 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 <partheniou@google.com> * chore(deps): update all dependencies (#220) * 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 <partheniou@google.com> * chore(deps): update dependency google-cloud-pubsub to v2.13.5 (#222) * chore(deps): update dependency google-cloud-pubsub to v2.13.6 (#225) * chore(deps): update all dependencies (#228) * chore(deps): update dependency google-auth to v2.11.0 (#229) Co-authored-by: Anthonios Partheniou <partheniou@google.com> * chore(deps): update dependency google-cloud-contact-center-insights to v1.4.3 (#232) * chore(deps): update dependency google-api-core to v2.10.0 (#238) * chore(deps): update dependency google-api-core to v2.10.0 * revert Co-authored-by: Anthonios Partheniou <partheniou@google.com> * chore(deps): update dependency pytest to v7.1.3 (#242) * chore: Bump gapic-generator-python version to 1.3.0 (#243) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 472561635 Source-Link: googleapis/googleapis@332ecf5 Source-Link: googleapis/googleapis-gen@4313d68 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDMxM2Q2ODI4ODBmZDlkNzI0NzI5MTE2NGQ0ZTlkM2Q1YmQ5ZjE3NyJ9 * chore: detect samples tests in nested directories (#246) Source-Link: googleapis/synthtool@50db768 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:e09366bdf0fd9c8976592988390b24d53583dd9f002d476934da43725adbb978 * chore(deps): update dependency google-api-core to v2.10.1 (#247) * chore(deps): update dependency google-auth to v2.11.1 (#248) * chore(deps): update all dependencies (#249) Co-authored-by: Anthonios Partheniou <partheniou@google.com> * chore(deps): update dependency google-cloud-contact-center-insights to v1.4.4 (#252) * chore(deps): update dependency google-api-core to v2.10.2 (#255) * chore(deps): update dependency google-cloud-contact-center-insights to v1.4.5 (#256) * chore(deps): update all dependencies (#257) * chore(deps): update dependency pytest to v7.2.0 (#258) * chore(deps): update dependency google-auth to v2.14.0 (#260) * chore(deps): update all dependencies (#261) * chore: Update gapic-generator-python to v1.6.1 (#259) * chore: update to gapic-generator-python 1.5.0 feat: add support for `google.cloud.<api>.__version__` PiperOrigin-RevId: 484665853 Source-Link: googleapis/googleapis@8eb249a Source-Link: googleapis/googleapis-gen@c8aa327 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzhhYTMyN2I1ZjQ3ODg2NWZjM2ZkOTFlM2MyNzY4ZTU0ZTI2YWQ0NCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * update version in gapic_version.py * add .release-please-manifest.json with correct version * add owlbot.py to exclude generated gapic_version.py * set manifest to true in .github/release-please.yml * add release-please-config.json * chore: Update to gapic-generator-python 1.6.0 feat(python): Add typing to proto.Message based class attributes feat(python): Snippetgen handling of repeated enum field PiperOrigin-RevId: 487326846 Source-Link: googleapis/googleapis@da380c7 Source-Link: googleapis/googleapis-gen@61ef576 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjFlZjU3NjJlZTY3MzFhMGNiYmZlYTIyZmQwZWVjZWU1MWFiMWM4ZSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: new APIs added to reflect updates to the filestore service - Add ENTERPRISE Tier - Add snapshot APIs: RevertInstance, ListSnapshots, CreateSnapshot, DeleteSnapshot, UpdateSnapshot - Add multi-share APIs: ListShares, GetShare, CreateShare, DeleteShare, UpdateShare - Add ConnectMode to NetworkConfig (for Private Service Access support) - New status codes (SUSPENDED/SUSPENDING, REVERTING/RESUMING) - Add SuspensionReason (for KMS related suspension) - Add new fields to Instance information: max_capacity_gb, capacity_step_size_gb, max_share_count, capacity_gb, multi_share_enabled PiperOrigin-RevId: 487492758 Source-Link: googleapis/googleapis@5be5981 Source-Link: googleapis/googleapis-gen@ab0e217 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWIwZTIxN2Y1NjBjYzJjMWFmYzExNDQxYzJlYWI2YjY5NTBlZmQyYiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * update path to snippet metadata json * chore: Update gapic-generator-python to v1.6.1 PiperOrigin-RevId: 488036204 Source-Link: googleapis/googleapis@08f275f Source-Link: googleapis/googleapis-gen@555c094 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTU1YzA5NDVlNjA2NDllMzg3MzlhZTY0YmM0NTcxOWNkZjcyMTc4ZiJ9 * 🦉 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 <partheniou@google.com> * chore(python): drop flake8-import-order in samples noxfile (#266) 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> * fix(deps): Require google-api-core >=1.34.0, >=2.11.0 (#268) * fix(deps): Require google-api-core >=1.34.0, >=2.11.0 fix: Drop usage of pkg_resources fix: Fix timeout default values docs(samples): Snippetgen should call await on the operation coroutine before calling result PiperOrigin-RevId: 493260409 Source-Link: googleapis/googleapis@fea4387 Source-Link: googleapis/googleapis-gen@387b734 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMzg3YjczNDRjNzUyOWVlNDRiZTg0ZTYxM2IxOWE4MjA1MDhjNjEyYiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * add gapic_version.py Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com> * feat: add Configurable Analysis, Bulk Upload, Bulk Analyze, Delete Issue Apis (#270) * feat: add Configurable Analysis, Bulk Upload, Bulk Analyze, Delete Issue Apis PiperOrigin-RevId: 495057883 Source-Link: googleapis/googleapis@59a66eb Source-Link: googleapis/googleapis-gen@9e7f289 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOWU3ZjI4OWM2YzZlNGZkNWY2M2I2ZGNmZWUwZDI3MmFiMWRjYTFkZSJ9 * 🦉 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> * chore(deps): update all dependencies (#267) Co-authored-by: Anthonios Partheniou <partheniou@google.com> * chore(main): release 1.5.0 (#265) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> * chore(deps): update dependency google-cloud-contact-center-insights to v1.5.0 (#271) * chore(python): add support for python 3.11 (#272) 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> * chore(deps): update dependency google-auth to v2.16.0 (#273) * feat: Add support for python 3.11 (#274) * feat: Add support for python 3.11 chore: Update gapic-generator-python to v1.8.0 PiperOrigin-RevId: 500768693 Source-Link: googleapis/googleapis@190b612 Source-Link: googleapis/googleapis-gen@7bf29a4 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiN2JmMjlhNDE0YjllY2FjMzE3MGYwYjY1YmRjMmE5NTcwNWMwZWYxYSJ9 * 🦉 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> * chore(main): release 1.6.0 (#275) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> * chore(deps): update dependency google-cloud-pubsub to v2.13.12 (#276) * chore(deps): update dependency google-cloud-contact-center-insights to v1.6.0 (#277) * chore(deps): update dependency pytest to v7.2.1 (#278) * removed 'generated_samples' * trying to add noxfile * noxfile Co-authored-by: Bamboo Le <8941262+TrucHLe@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: WhiteSource Renovate <renovate@whitesourcesoftware.com> Co-authored-by: WhiteSource Renovate <bot@renovateapp.com> Co-authored-by: gcf-owl-bot[bot] <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: nicain <nicain.seattle@gmail.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com> Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
PTAL