Skip to content
This repository was archived by the owner on Dec 17, 2023. It is now read-only.

Commit

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

PiperOrigin-RevId: 467286830

Source-Link: googleapis/googleapis@e6e875a

Source-Link: https://github.com/googleapis/googleapis-gen/commit/0295ea14d9cd4d47ddb23b9ebd39a31e2035e28f
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDI5NWVhMTRkOWNkNGQ0N2RkYjIzYjllYmQzOWEzMWUyMDM1ZTI4ZiJ9

* 🦉 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 Aug 15, 2022
1 parent 45f74b4 commit 1beb2b7
Show file tree
Hide file tree
Showing 32 changed files with 128 additions and 128 deletions.
8 changes: 4 additions & 4 deletions tests/unit/gapic/dialogflow_v2/test_agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -3456,7 +3456,7 @@ def test_cancel_operation(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_cancel_operation(transport: str = "grpc"):
async def test_cancel_operation_async(transport: str = "grpc"):
client = AgentsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -3595,7 +3595,7 @@ def test_get_operation(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_get_operation(transport: str = "grpc"):
async def test_get_operation_async(transport: str = "grpc"):
client = AgentsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -3740,7 +3740,7 @@ def test_list_operations(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_list_operations(transport: str = "grpc"):
async def test_list_operations_async(transport: str = "grpc"):
client = AgentsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -3885,7 +3885,7 @@ def test_list_locations(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_list_locations(transport: str = "grpc"):
async def test_list_locations_async(transport: str = "grpc"):
client = AgentsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down
8 changes: 4 additions & 4 deletions tests/unit/gapic/dialogflow_v2/test_answer_records.py
Original file line number Diff line number Diff line change
Expand Up @@ -2078,7 +2078,7 @@ def test_cancel_operation(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_cancel_operation(transport: str = "grpc"):
async def test_cancel_operation_async(transport: str = "grpc"):
client = AnswerRecordsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -2217,7 +2217,7 @@ def test_get_operation(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_get_operation(transport: str = "grpc"):
async def test_get_operation_async(transport: str = "grpc"):
client = AnswerRecordsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -2362,7 +2362,7 @@ def test_list_operations(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_list_operations(transport: str = "grpc"):
async def test_list_operations_async(transport: str = "grpc"):
client = AnswerRecordsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -2507,7 +2507,7 @@ def test_list_locations(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_list_locations(transport: str = "grpc"):
async def test_list_locations_async(transport: str = "grpc"):
client = AnswerRecordsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down
8 changes: 4 additions & 4 deletions tests/unit/gapic/dialogflow_v2/test_contexts.py
Original file line number Diff line number Diff line change
Expand Up @@ -2928,7 +2928,7 @@ def test_cancel_operation(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_cancel_operation(transport: str = "grpc"):
async def test_cancel_operation_async(transport: str = "grpc"):
client = ContextsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -3067,7 +3067,7 @@ def test_get_operation(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_get_operation(transport: str = "grpc"):
async def test_get_operation_async(transport: str = "grpc"):
client = ContextsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -3212,7 +3212,7 @@ def test_list_operations(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_list_operations(transport: str = "grpc"):
async def test_list_operations_async(transport: str = "grpc"):
client = ContextsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -3357,7 +3357,7 @@ def test_list_locations(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_list_locations(transport: str = "grpc"):
async def test_list_locations_async(transport: str = "grpc"):
client = ContextsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down
8 changes: 4 additions & 4 deletions tests/unit/gapic/dialogflow_v2/test_conversation_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -2820,7 +2820,7 @@ def test_cancel_operation(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_cancel_operation(transport: str = "grpc"):
async def test_cancel_operation_async(transport: str = "grpc"):
client = ConversationDatasetsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -2959,7 +2959,7 @@ def test_get_operation(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_get_operation(transport: str = "grpc"):
async def test_get_operation_async(transport: str = "grpc"):
client = ConversationDatasetsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -3104,7 +3104,7 @@ def test_list_operations(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_list_operations(transport: str = "grpc"):
async def test_list_operations_async(transport: str = "grpc"):
client = ConversationDatasetsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -3249,7 +3249,7 @@ def test_list_locations(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_list_locations(transport: str = "grpc"):
async def test_list_locations_async(transport: str = "grpc"):
client = ConversationDatasetsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down
8 changes: 4 additions & 4 deletions tests/unit/gapic/dialogflow_v2/test_conversation_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -4021,7 +4021,7 @@ def test_cancel_operation(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_cancel_operation(transport: str = "grpc"):
async def test_cancel_operation_async(transport: str = "grpc"):
client = ConversationModelsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -4160,7 +4160,7 @@ def test_get_operation(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_get_operation(transport: str = "grpc"):
async def test_get_operation_async(transport: str = "grpc"):
client = ConversationModelsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -4305,7 +4305,7 @@ def test_list_operations(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_list_operations(transport: str = "grpc"):
async def test_list_operations_async(transport: str = "grpc"):
client = ConversationModelsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -4450,7 +4450,7 @@ def test_list_locations(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_list_locations(transport: str = "grpc"):
async def test_list_locations_async(transport: str = "grpc"):
client = ConversationModelsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down
8 changes: 4 additions & 4 deletions tests/unit/gapic/dialogflow_v2/test_conversation_profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -3574,7 +3574,7 @@ def test_cancel_operation(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_cancel_operation(transport: str = "grpc"):
async def test_cancel_operation_async(transport: str = "grpc"):
client = ConversationProfilesAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -3713,7 +3713,7 @@ def test_get_operation(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_get_operation(transport: str = "grpc"):
async def test_get_operation_async(transport: str = "grpc"):
client = ConversationProfilesAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -3858,7 +3858,7 @@ def test_list_operations(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_list_operations(transport: str = "grpc"):
async def test_list_operations_async(transport: str = "grpc"):
client = ConversationProfilesAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -4003,7 +4003,7 @@ def test_list_locations(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_list_locations(transport: str = "grpc"):
async def test_list_locations_async(transport: str = "grpc"):
client = ConversationProfilesAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down
8 changes: 4 additions & 4 deletions tests/unit/gapic/dialogflow_v2/test_conversations.py
Original file line number Diff line number Diff line change
Expand Up @@ -3097,7 +3097,7 @@ def test_cancel_operation(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_cancel_operation(transport: str = "grpc"):
async def test_cancel_operation_async(transport: str = "grpc"):
client = ConversationsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -3236,7 +3236,7 @@ def test_get_operation(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_get_operation(transport: str = "grpc"):
async def test_get_operation_async(transport: str = "grpc"):
client = ConversationsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -3381,7 +3381,7 @@ def test_list_operations(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_list_operations(transport: str = "grpc"):
async def test_list_operations_async(transport: str = "grpc"):
client = ConversationsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -3526,7 +3526,7 @@ def test_list_locations(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_list_locations(transport: str = "grpc"):
async def test_list_locations_async(transport: str = "grpc"):
client = ConversationsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down
8 changes: 4 additions & 4 deletions tests/unit/gapic/dialogflow_v2/test_documents.py
Original file line number Diff line number Diff line change
Expand Up @@ -3281,7 +3281,7 @@ def test_cancel_operation(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_cancel_operation(transport: str = "grpc"):
async def test_cancel_operation_async(transport: str = "grpc"):
client = DocumentsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -3420,7 +3420,7 @@ def test_get_operation(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_get_operation(transport: str = "grpc"):
async def test_get_operation_async(transport: str = "grpc"):
client = DocumentsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -3565,7 +3565,7 @@ def test_list_operations(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_list_operations(transport: str = "grpc"):
async def test_list_operations_async(transport: str = "grpc"):
client = DocumentsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -3710,7 +3710,7 @@ def test_list_locations(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_list_locations(transport: str = "grpc"):
async def test_list_locations_async(transport: str = "grpc"):
client = DocumentsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down
8 changes: 4 additions & 4 deletions tests/unit/gapic/dialogflow_v2/test_entity_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -4098,7 +4098,7 @@ def test_cancel_operation(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_cancel_operation(transport: str = "grpc"):
async def test_cancel_operation_async(transport: str = "grpc"):
client = EntityTypesAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -4237,7 +4237,7 @@ def test_get_operation(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_get_operation(transport: str = "grpc"):
async def test_get_operation_async(transport: str = "grpc"):
client = EntityTypesAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -4382,7 +4382,7 @@ def test_list_operations(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_list_operations(transport: str = "grpc"):
async def test_list_operations_async(transport: str = "grpc"):
client = EntityTypesAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -4527,7 +4527,7 @@ def test_list_locations(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_list_locations(transport: str = "grpc"):
async def test_list_locations_async(transport: str = "grpc"):
client = EntityTypesAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down
8 changes: 4 additions & 4 deletions tests/unit/gapic/dialogflow_v2/test_environments.py
Original file line number Diff line number Diff line change
Expand Up @@ -2862,7 +2862,7 @@ def test_cancel_operation(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_cancel_operation(transport: str = "grpc"):
async def test_cancel_operation_async(transport: str = "grpc"):
client = EnvironmentsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -3001,7 +3001,7 @@ def test_get_operation(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_get_operation(transport: str = "grpc"):
async def test_get_operation_async(transport: str = "grpc"):
client = EnvironmentsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -3146,7 +3146,7 @@ def test_list_operations(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_list_operations(transport: str = "grpc"):
async def test_list_operations_async(transport: str = "grpc"):
client = EnvironmentsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -3291,7 +3291,7 @@ def test_list_locations(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_list_locations(transport: str = "grpc"):
async def test_list_locations_async(transport: str = "grpc"):
client = EnvironmentsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down
8 changes: 4 additions & 4 deletions tests/unit/gapic/dialogflow_v2/test_fulfillments.py
Original file line number Diff line number Diff line change
Expand Up @@ -1859,7 +1859,7 @@ def test_cancel_operation(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_cancel_operation(transport: str = "grpc"):
async def test_cancel_operation_async(transport: str = "grpc"):
client = FulfillmentsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -1998,7 +1998,7 @@ def test_get_operation(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_get_operation(transport: str = "grpc"):
async def test_get_operation_async(transport: str = "grpc"):
client = FulfillmentsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -2143,7 +2143,7 @@ def test_list_operations(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_list_operations(transport: str = "grpc"):
async def test_list_operations_async(transport: str = "grpc"):
client = FulfillmentsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down Expand Up @@ -2288,7 +2288,7 @@ def test_list_locations(transport: str = "grpc"):


@pytest.mark.asyncio
async def test_list_locations(transport: str = "grpc"):
async def test_list_locations_async(transport: str = "grpc"):
client = FulfillmentsAsyncClient(
credentials=ga_credentials.AnonymousCredentials(),
transport=transport,
Expand Down
Loading

0 comments on commit 1beb2b7

Please sign in to comment.