Skip to content

Commit 47947b9

Browse files
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: 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 <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent 027df8f commit 47947b9

6 files changed

+6
-6
lines changed

contact-center-insights/generated_samples/contactcenterinsights_v1_generated_contact_center_insights_create_analysis_async.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ async def sample_create_analysis():
4848

4949
print("Waiting for operation to complete...")
5050

51-
response = await operation.result()
51+
response = (await operation).result()
5252

5353
# Handle the response
5454
print(response)

contact-center-insights/generated_samples/contactcenterinsights_v1_generated_contact_center_insights_create_issue_model_async.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ async def sample_create_issue_model():
4848

4949
print("Waiting for operation to complete...")
5050

51-
response = await operation.result()
51+
response = (await operation).result()
5252

5353
# Handle the response
5454
print(response)

contact-center-insights/generated_samples/contactcenterinsights_v1_generated_contact_center_insights_delete_issue_model_async.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ async def sample_delete_issue_model():
4848

4949
print("Waiting for operation to complete...")
5050

51-
response = await operation.result()
51+
response = (await operation).result()
5252

5353
# Handle the response
5454
print(response)

contact-center-insights/generated_samples/contactcenterinsights_v1_generated_contact_center_insights_deploy_issue_model_async.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ async def sample_deploy_issue_model():
4848

4949
print("Waiting for operation to complete...")
5050

51-
response = await operation.result()
51+
response = (await operation).result()
5252

5353
# Handle the response
5454
print(response)

contact-center-insights/generated_samples/contactcenterinsights_v1_generated_contact_center_insights_export_insights_data_async.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ async def sample_export_insights_data():
5252

5353
print("Waiting for operation to complete...")
5454

55-
response = await operation.result()
55+
response = (await operation).result()
5656

5757
# Handle the response
5858
print(response)

contact-center-insights/generated_samples/contactcenterinsights_v1_generated_contact_center_insights_undeploy_issue_model_async.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ async def sample_undeploy_issue_model():
4848

4949
print("Waiting for operation to complete...")
5050

51-
response = await operation.result()
51+
response = (await operation).result()
5252

5353
# Handle the response
5454
print(response)

0 commit comments

Comments
 (0)