Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.65.2 (#175)
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 2fbc86c commit 9380167
Show file tree
Hide file tree
Showing 2 changed files with 101 additions and 101 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,17 +158,17 @@ async def get_occurrence(
from grafeas import grafeas_v1
def sample_get_occurrence():
async def sample_get_occurrence():
# Create a client
client = grafeas_v1.GrafeasClient()
client = grafeas_v1.GrafeasAsyncClient()
# Initialize request argument(s)
request = grafeas_v1.GetOccurrenceRequest(
name="name_value",
)
# Make the request
response = client.get_occurrence(request=request)
response = await client.get_occurrence(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -263,9 +263,9 @@ async def list_occurrences(
from grafeas import grafeas_v1
def sample_list_occurrences():
async def sample_list_occurrences():
# Create a client
client = grafeas_v1.GrafeasClient()
client = grafeas_v1.GrafeasAsyncClient()
# Initialize request argument(s)
request = grafeas_v1.ListOccurrencesRequest(
Expand All @@ -276,7 +276,7 @@ def sample_list_occurrences():
page_result = client.list_occurrences(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -388,17 +388,17 @@ async def delete_occurrence(
from grafeas import grafeas_v1
def sample_delete_occurrence():
async def sample_delete_occurrence():
# Create a client
client = grafeas_v1.GrafeasClient()
client = grafeas_v1.GrafeasAsyncClient()
# Initialize request argument(s)
request = grafeas_v1.DeleteOccurrenceRequest(
name="name_value",
)
# Make the request
client.delete_occurrence(request=request)
await client.delete_occurrence(request=request)
Args:
request (Union[grafeas.grafeas_v1.types.DeleteOccurrenceRequest, dict]):
Expand Down Expand Up @@ -481,17 +481,17 @@ async def create_occurrence(
from grafeas import grafeas_v1
def sample_create_occurrence():
async def sample_create_occurrence():
# Create a client
client = grafeas_v1.GrafeasClient()
client = grafeas_v1.GrafeasAsyncClient()
# Initialize request argument(s)
request = grafeas_v1.CreateOccurrenceRequest(
parent="parent_value",
)
# Make the request
response = client.create_occurrence(request=request)
response = await client.create_occurrence(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -584,17 +584,17 @@ async def batch_create_occurrences(
from grafeas import grafeas_v1
def sample_batch_create_occurrences():
async def sample_batch_create_occurrences():
# Create a client
client = grafeas_v1.GrafeasClient()
client = grafeas_v1.GrafeasAsyncClient()
# Initialize request argument(s)
request = grafeas_v1.BatchCreateOccurrencesRequest(
parent="parent_value",
)
# Make the request
response = client.batch_create_occurrences(request=request)
response = await client.batch_create_occurrences(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -691,17 +691,17 @@ async def update_occurrence(
from grafeas import grafeas_v1
def sample_update_occurrence():
async def sample_update_occurrence():
# Create a client
client = grafeas_v1.GrafeasClient()
client = grafeas_v1.GrafeasAsyncClient()
# Initialize request argument(s)
request = grafeas_v1.UpdateOccurrenceRequest(
name="name_value",
)
# Make the request
response = client.update_occurrence(request=request)
response = await client.update_occurrence(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -801,17 +801,17 @@ async def get_occurrence_note(
from grafeas import grafeas_v1
def sample_get_occurrence_note():
async def sample_get_occurrence_note():
# Create a client
client = grafeas_v1.GrafeasClient()
client = grafeas_v1.GrafeasAsyncClient()
# Initialize request argument(s)
request = grafeas_v1.GetOccurrenceNoteRequest(
name="name_value",
)
# Make the request
response = client.get_occurrence_note(request=request)
response = await client.get_occurrence_note(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -906,17 +906,17 @@ async def get_note(
from grafeas import grafeas_v1
def sample_get_note():
async def sample_get_note():
# Create a client
client = grafeas_v1.GrafeasClient()
client = grafeas_v1.GrafeasAsyncClient()
# Initialize request argument(s)
request = grafeas_v1.GetNoteRequest(
name="name_value",
)
# Make the request
response = client.get_note(request=request)
response = await client.get_note(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -1011,9 +1011,9 @@ async def list_notes(
from grafeas import grafeas_v1
def sample_list_notes():
async def sample_list_notes():
# Create a client
client = grafeas_v1.GrafeasClient()
client = grafeas_v1.GrafeasAsyncClient()
# Initialize request argument(s)
request = grafeas_v1.ListNotesRequest(
Expand All @@ -1024,7 +1024,7 @@ def sample_list_notes():
page_result = client.list_notes(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -1134,17 +1134,17 @@ async def delete_note(
from grafeas import grafeas_v1
def sample_delete_note():
async def sample_delete_note():
# Create a client
client = grafeas_v1.GrafeasClient()
client = grafeas_v1.GrafeasAsyncClient()
# Initialize request argument(s)
request = grafeas_v1.DeleteNoteRequest(
name="name_value",
)
# Make the request
client.delete_note(request=request)
await client.delete_note(request=request)
Args:
request (Union[grafeas.grafeas_v1.types.DeleteNoteRequest, dict]):
Expand Down Expand Up @@ -1228,9 +1228,9 @@ async def create_note(
from grafeas import grafeas_v1
def sample_create_note():
async def sample_create_note():
# Create a client
client = grafeas_v1.GrafeasClient()
client = grafeas_v1.GrafeasAsyncClient()
# Initialize request argument(s)
request = grafeas_v1.CreateNoteRequest(
Expand All @@ -1239,7 +1239,7 @@ def sample_create_note():
)
# Make the request
response = client.create_note(request=request)
response = await client.create_note(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -1339,17 +1339,17 @@ async def batch_create_notes(
from grafeas import grafeas_v1
def sample_batch_create_notes():
async def sample_batch_create_notes():
# Create a client
client = grafeas_v1.GrafeasClient()
client = grafeas_v1.GrafeasAsyncClient()
# Initialize request argument(s)
request = grafeas_v1.BatchCreateNotesRequest(
parent="parent_value",
)
# Make the request
response = client.batch_create_notes(request=request)
response = await client.batch_create_notes(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -1444,17 +1444,17 @@ async def update_note(
from grafeas import grafeas_v1
def sample_update_note():
async def sample_update_note():
# Create a client
client = grafeas_v1.GrafeasClient()
client = grafeas_v1.GrafeasAsyncClient()
# Initialize request argument(s)
request = grafeas_v1.UpdateNoteRequest(
name="name_value",
)
# Make the request
response = client.update_note(request=request)
response = await client.update_note(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -1556,9 +1556,9 @@ async def list_note_occurrences(
from grafeas import grafeas_v1
def sample_list_note_occurrences():
async def sample_list_note_occurrences():
# Create a client
client = grafeas_v1.GrafeasClient()
client = grafeas_v1.GrafeasAsyncClient()
# Initialize request argument(s)
request = grafeas_v1.ListNoteOccurrencesRequest(
Expand All @@ -1569,7 +1569,7 @@ def sample_list_note_occurrences():
page_result = client.list_note_occurrences(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down
Loading

0 comments on commit 9380167

Please sign in to comment.