Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.65.2 (#312)
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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Apr 28, 2022
1 parent 781a74b commit 3dcbc17
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,9 @@ async def analyze_sentiment(
from google.cloud import language_v1
def sample_analyze_sentiment():
async def sample_analyze_sentiment():
# Create a client
client = language_v1.LanguageServiceClient()
client = language_v1.LanguageServiceAsyncClient()
# Initialize request argument(s)
document = language_v1.Document()
Expand All @@ -231,7 +231,7 @@ def sample_analyze_sentiment():
)
# Make the request
response = client.analyze_sentiment(request=request)
response = await client.analyze_sentiment(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -331,9 +331,9 @@ async def analyze_entities(
from google.cloud import language_v1
def sample_analyze_entities():
async def sample_analyze_entities():
# Create a client
client = language_v1.LanguageServiceClient()
client = language_v1.LanguageServiceAsyncClient()
# Initialize request argument(s)
document = language_v1.Document()
Expand All @@ -344,7 +344,7 @@ def sample_analyze_entities():
)
# Make the request
response = client.analyze_entities(request=request)
response = await client.analyze_entities(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -441,9 +441,9 @@ async def analyze_entity_sentiment(
from google.cloud import language_v1
def sample_analyze_entity_sentiment():
async def sample_analyze_entity_sentiment():
# Create a client
client = language_v1.LanguageServiceClient()
client = language_v1.LanguageServiceAsyncClient()
# Initialize request argument(s)
document = language_v1.Document()
Expand All @@ -454,7 +454,7 @@ def sample_analyze_entity_sentiment():
)
# Make the request
response = client.analyze_entity_sentiment(request=request)
response = await client.analyze_entity_sentiment(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -553,9 +553,9 @@ async def analyze_syntax(
from google.cloud import language_v1
def sample_analyze_syntax():
async def sample_analyze_syntax():
# Create a client
client = language_v1.LanguageServiceClient()
client = language_v1.LanguageServiceAsyncClient()
# Initialize request argument(s)
document = language_v1.Document()
Expand All @@ -566,7 +566,7 @@ def sample_analyze_syntax():
)
# Make the request
response = client.analyze_syntax(request=request)
response = await client.analyze_syntax(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -659,9 +659,9 @@ async def classify_text(
from google.cloud import language_v1
def sample_classify_text():
async def sample_classify_text():
# Create a client
client = language_v1.LanguageServiceClient()
client = language_v1.LanguageServiceAsyncClient()
# Initialize request argument(s)
document = language_v1.Document()
Expand All @@ -672,7 +672,7 @@ def sample_classify_text():
)
# Make the request
response = client.classify_text(request=request)
response = await client.classify_text(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -763,9 +763,9 @@ async def annotate_text(
from google.cloud import language_v1
def sample_annotate_text():
async def sample_annotate_text():
# Create a client
client = language_v1.LanguageServiceClient()
client = language_v1.LanguageServiceAsyncClient()
# Initialize request argument(s)
document = language_v1.Document()
Expand All @@ -776,7 +776,7 @@ def sample_annotate_text():
)
# Make the request
response = client.annotate_text(request=request)
response = await client.annotate_text(request=request)
# Handle the response
print(response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,9 @@ async def analyze_sentiment(
from google.cloud import language_v1beta2
def sample_analyze_sentiment():
async def sample_analyze_sentiment():
# Create a client
client = language_v1beta2.LanguageServiceClient()
client = language_v1beta2.LanguageServiceAsyncClient()
# Initialize request argument(s)
document = language_v1beta2.Document()
Expand All @@ -231,7 +231,7 @@ def sample_analyze_sentiment():
)
# Make the request
response = client.analyze_sentiment(request=request)
response = await client.analyze_sentiment(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -332,9 +332,9 @@ async def analyze_entities(
from google.cloud import language_v1beta2
def sample_analyze_entities():
async def sample_analyze_entities():
# Create a client
client = language_v1beta2.LanguageServiceClient()
client = language_v1beta2.LanguageServiceAsyncClient()
# Initialize request argument(s)
document = language_v1beta2.Document()
Expand All @@ -345,7 +345,7 @@ def sample_analyze_entities():
)
# Make the request
response = client.analyze_entities(request=request)
response = await client.analyze_entities(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -442,9 +442,9 @@ async def analyze_entity_sentiment(
from google.cloud import language_v1beta2
def sample_analyze_entity_sentiment():
async def sample_analyze_entity_sentiment():
# Create a client
client = language_v1beta2.LanguageServiceClient()
client = language_v1beta2.LanguageServiceAsyncClient()
# Initialize request argument(s)
document = language_v1beta2.Document()
Expand All @@ -455,7 +455,7 @@ def sample_analyze_entity_sentiment():
)
# Make the request
response = client.analyze_entity_sentiment(request=request)
response = await client.analyze_entity_sentiment(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -554,9 +554,9 @@ async def analyze_syntax(
from google.cloud import language_v1beta2
def sample_analyze_syntax():
async def sample_analyze_syntax():
# Create a client
client = language_v1beta2.LanguageServiceClient()
client = language_v1beta2.LanguageServiceAsyncClient()
# Initialize request argument(s)
document = language_v1beta2.Document()
Expand All @@ -567,7 +567,7 @@ def sample_analyze_syntax():
)
# Make the request
response = client.analyze_syntax(request=request)
response = await client.analyze_syntax(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -660,9 +660,9 @@ async def classify_text(
from google.cloud import language_v1beta2
def sample_classify_text():
async def sample_classify_text():
# Create a client
client = language_v1beta2.LanguageServiceClient()
client = language_v1beta2.LanguageServiceAsyncClient()
# Initialize request argument(s)
document = language_v1beta2.Document()
Expand All @@ -673,7 +673,7 @@ def sample_classify_text():
)
# Make the request
response = client.classify_text(request=request)
response = await client.classify_text(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -764,9 +764,9 @@ async def annotate_text(
from google.cloud import language_v1beta2
def sample_annotate_text():
async def sample_annotate_text():
# Create a client
client = language_v1beta2.LanguageServiceClient()
client = language_v1beta2.LanguageServiceAsyncClient()
# Initialize request argument(s)
document = language_v1beta2.Document()
Expand All @@ -777,7 +777,7 @@ def sample_annotate_text():
)
# Make the request
response = client.annotate_text(request=request)
response = await client.annotate_text(request=request)
# Handle the response
print(response)
Expand Down
Empty file.

0 comments on commit 3dcbc17

Please sign in to comment.