Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.65.2 (#352)
Browse files Browse the repository at this point in the history
* chore: use gapic-generator-python 0.65.2

PiperOrigin-RevId: 444333013

Source-Link: googleapis/googleapis@f91b6cf

Source-Link: googleapis/googleapis-gen@16eb360
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTZlYjM2MDk1YzI5NGU3MTJjNzRhMWJmMjM1NTA4MTdiNDIxNzRlNSJ9

* 🦉 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 <[email protected]>
  • Loading branch information
3 people authored Apr 28, 2022
1 parent bda5ca7 commit f02e450
Show file tree
Hide file tree
Showing 11 changed files with 443 additions and 443 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,16 +225,16 @@ async def batch_annotate_images(
from google.cloud import vision_v1
def sample_batch_annotate_images():
async def sample_batch_annotate_images():
# Create a client
client = vision_v1.ImageAnnotatorClient()
client = vision_v1.ImageAnnotatorAsyncClient()
# Initialize request argument(s)
request = vision_v1.BatchAnnotateImagesRequest(
)
# Make the request
response = client.batch_annotate_images(request=request)
response = await client.batch_annotate_images(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -330,16 +330,16 @@ async def batch_annotate_files(
from google.cloud import vision_v1
def sample_batch_annotate_files():
async def sample_batch_annotate_files():
# Create a client
client = vision_v1.ImageAnnotatorClient()
client = vision_v1.ImageAnnotatorAsyncClient()
# Initialize request argument(s)
request = vision_v1.BatchAnnotateFilesRequest(
)
# Make the request
response = client.batch_annotate_files(request=request)
response = await client.batch_annotate_files(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -440,9 +440,9 @@ async def async_batch_annotate_images(
from google.cloud import vision_v1
def sample_async_batch_annotate_images():
async def sample_async_batch_annotate_images():
# Create a client
client = vision_v1.ImageAnnotatorClient()
client = vision_v1.ImageAnnotatorAsyncClient()
# Initialize request argument(s)
request = vision_v1.AsyncBatchAnnotateImagesRequest(
Expand All @@ -453,7 +453,7 @@ def sample_async_batch_annotate_images():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -568,9 +568,9 @@ async def async_batch_annotate_files(
from google.cloud import vision_v1
def sample_async_batch_annotate_files():
async def sample_async_batch_annotate_files():
# Create a client
client = vision_v1.ImageAnnotatorClient()
client = vision_v1.ImageAnnotatorAsyncClient()
# Initialize request argument(s)
request = vision_v1.AsyncBatchAnnotateFilesRequest(
Expand All @@ -581,7 +581,7 @@ def sample_async_batch_annotate_files():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down
Loading

0 comments on commit f02e450

Please sign in to comment.