From 47947b93e5af6927717e47c1c9e50ced87e0d36e Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 7 Dec 2022 10:32:19 -0500 Subject: [PATCH] fix(deps): Require google-api-core >=1.34.0, >=2.11.0 (#268) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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: https://github.com/googleapis/googleapis/commit/fea43879f83a8d0dacc9353b3f75f8f46d37162f Source-Link: https://github.com/googleapis/googleapis-gen/commit/387b7344c7529ee44be84e613b19a820508c612b 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 Co-authored-by: Anthonios Partheniou --- ...1_generated_contact_center_insights_create_analysis_async.py | 2 +- ...enerated_contact_center_insights_create_issue_model_async.py | 2 +- ...enerated_contact_center_insights_delete_issue_model_async.py | 2 +- ...enerated_contact_center_insights_deploy_issue_model_async.py | 2 +- ...erated_contact_center_insights_export_insights_data_async.py | 2 +- ...erated_contact_center_insights_undeploy_issue_model_async.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/contact-center-insights/generated_samples/contactcenterinsights_v1_generated_contact_center_insights_create_analysis_async.py b/contact-center-insights/generated_samples/contactcenterinsights_v1_generated_contact_center_insights_create_analysis_async.py index 78990c3c99ea..793b9dcc9d69 100644 --- a/contact-center-insights/generated_samples/contactcenterinsights_v1_generated_contact_center_insights_create_analysis_async.py +++ b/contact-center-insights/generated_samples/contactcenterinsights_v1_generated_contact_center_insights_create_analysis_async.py @@ -48,7 +48,7 @@ async def sample_create_analysis(): print("Waiting for operation to complete...") - response = await operation.result() + response = (await operation).result() # Handle the response print(response) diff --git a/contact-center-insights/generated_samples/contactcenterinsights_v1_generated_contact_center_insights_create_issue_model_async.py b/contact-center-insights/generated_samples/contactcenterinsights_v1_generated_contact_center_insights_create_issue_model_async.py index 2f47a544d16b..a69ffe518873 100644 --- a/contact-center-insights/generated_samples/contactcenterinsights_v1_generated_contact_center_insights_create_issue_model_async.py +++ b/contact-center-insights/generated_samples/contactcenterinsights_v1_generated_contact_center_insights_create_issue_model_async.py @@ -48,7 +48,7 @@ async def sample_create_issue_model(): print("Waiting for operation to complete...") - response = await operation.result() + response = (await operation).result() # Handle the response print(response) diff --git a/contact-center-insights/generated_samples/contactcenterinsights_v1_generated_contact_center_insights_delete_issue_model_async.py b/contact-center-insights/generated_samples/contactcenterinsights_v1_generated_contact_center_insights_delete_issue_model_async.py index 736d76a6dfd1..800b643d9834 100644 --- a/contact-center-insights/generated_samples/contactcenterinsights_v1_generated_contact_center_insights_delete_issue_model_async.py +++ b/contact-center-insights/generated_samples/contactcenterinsights_v1_generated_contact_center_insights_delete_issue_model_async.py @@ -48,7 +48,7 @@ async def sample_delete_issue_model(): print("Waiting for operation to complete...") - response = await operation.result() + response = (await operation).result() # Handle the response print(response) diff --git a/contact-center-insights/generated_samples/contactcenterinsights_v1_generated_contact_center_insights_deploy_issue_model_async.py b/contact-center-insights/generated_samples/contactcenterinsights_v1_generated_contact_center_insights_deploy_issue_model_async.py index a0ecfa9ecec3..7f26b983908d 100644 --- a/contact-center-insights/generated_samples/contactcenterinsights_v1_generated_contact_center_insights_deploy_issue_model_async.py +++ b/contact-center-insights/generated_samples/contactcenterinsights_v1_generated_contact_center_insights_deploy_issue_model_async.py @@ -48,7 +48,7 @@ async def sample_deploy_issue_model(): print("Waiting for operation to complete...") - response = await operation.result() + response = (await operation).result() # Handle the response print(response) diff --git a/contact-center-insights/generated_samples/contactcenterinsights_v1_generated_contact_center_insights_export_insights_data_async.py b/contact-center-insights/generated_samples/contactcenterinsights_v1_generated_contact_center_insights_export_insights_data_async.py index 93c393ea2525..d90ef36ce31b 100644 --- a/contact-center-insights/generated_samples/contactcenterinsights_v1_generated_contact_center_insights_export_insights_data_async.py +++ b/contact-center-insights/generated_samples/contactcenterinsights_v1_generated_contact_center_insights_export_insights_data_async.py @@ -52,7 +52,7 @@ async def sample_export_insights_data(): print("Waiting for operation to complete...") - response = await operation.result() + response = (await operation).result() # Handle the response print(response) diff --git a/contact-center-insights/generated_samples/contactcenterinsights_v1_generated_contact_center_insights_undeploy_issue_model_async.py b/contact-center-insights/generated_samples/contactcenterinsights_v1_generated_contact_center_insights_undeploy_issue_model_async.py index 070bcbbc79e4..d7fc5eeadc62 100644 --- a/contact-center-insights/generated_samples/contactcenterinsights_v1_generated_contact_center_insights_undeploy_issue_model_async.py +++ b/contact-center-insights/generated_samples/contactcenterinsights_v1_generated_contact_center_insights_undeploy_issue_model_async.py @@ -48,7 +48,7 @@ async def sample_undeploy_issue_model(): print("Waiting for operation to complete...") - response = await operation.result() + response = (await operation).result() # Handle the response print(response)