Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

Commit

Permalink
chore: use gapic-generator-python 1.3.1 (#454)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 472772457

Source-Link: googleapis/googleapis@855b74d

Source-Link: googleapis/googleapis-gen@b64b1e7
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjY0YjFlN2RhM2UxMzhmMTVjYTM2MTU1MmVmMDU0NWU1NDg5MWI0ZiJ9
  • Loading branch information
gcf-owl-bot[bot] committed Sep 8, 2022
1 parent cef941c commit b791c89
Show file tree
Hide file tree
Showing 32 changed files with 64 additions and 64 deletions.
4 changes: 2 additions & 2 deletions tests/unit/gapic/dialogflowcx_v3/test_agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# try/except added for compatibility with python < 3.8
try:
from unittest import mock
from unittest.mock import AsyncMock
except ImportError:
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
import mock

import grpc
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/gapic/dialogflowcx_v3/test_changelogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# try/except added for compatibility with python < 3.8
try:
from unittest import mock
from unittest.mock import AsyncMock
except ImportError:
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
import mock

import grpc
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/gapic/dialogflowcx_v3/test_deployments.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# try/except added for compatibility with python < 3.8
try:
from unittest import mock
from unittest.mock import AsyncMock
except ImportError:
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
import mock

import grpc
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/gapic/dialogflowcx_v3/test_entity_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# try/except added for compatibility with python < 3.8
try:
from unittest import mock
from unittest.mock import AsyncMock
except ImportError:
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
import mock

import grpc
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/gapic/dialogflowcx_v3/test_environments.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# try/except added for compatibility with python < 3.8
try:
from unittest import mock
from unittest.mock import AsyncMock
except ImportError:
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
import mock

import grpc
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/gapic/dialogflowcx_v3/test_experiments.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# try/except added for compatibility with python < 3.8
try:
from unittest import mock
from unittest.mock import AsyncMock
except ImportError:
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
import mock

import grpc
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/gapic/dialogflowcx_v3/test_flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# try/except added for compatibility with python < 3.8
try:
from unittest import mock
from unittest.mock import AsyncMock
except ImportError:
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
import mock

import grpc
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/gapic/dialogflowcx_v3/test_intents.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# try/except added for compatibility with python < 3.8
try:
from unittest import mock
from unittest.mock import AsyncMock
except ImportError:
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
import mock

import grpc
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/gapic/dialogflowcx_v3/test_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# try/except added for compatibility with python < 3.8
try:
from unittest import mock
from unittest.mock import AsyncMock
except ImportError:
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
import mock

import grpc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# try/except added for compatibility with python < 3.8
try:
from unittest import mock
from unittest.mock import AsyncMock
except ImportError:
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
import mock

import grpc
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/gapic/dialogflowcx_v3/test_session_entity_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# try/except added for compatibility with python < 3.8
try:
from unittest import mock
from unittest.mock import AsyncMock
except ImportError:
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
import mock

import grpc
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/gapic/dialogflowcx_v3/test_sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# try/except added for compatibility with python < 3.8
try:
from unittest import mock
from unittest.mock import AsyncMock
except ImportError:
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
import mock

import grpc
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/gapic/dialogflowcx_v3/test_test_cases.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# try/except added for compatibility with python < 3.8
try:
from unittest import mock
from unittest.mock import AsyncMock
except ImportError:
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
import mock

import grpc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# try/except added for compatibility with python < 3.8
try:
from unittest import mock
from unittest.mock import AsyncMock
except ImportError:
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
import mock

import grpc
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/gapic/dialogflowcx_v3/test_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# try/except added for compatibility with python < 3.8
try:
from unittest import mock
from unittest.mock import AsyncMock
except ImportError:
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
import mock

import grpc
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/gapic/dialogflowcx_v3/test_webhooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# try/except added for compatibility with python < 3.8
try:
from unittest import mock
from unittest.mock import AsyncMock
except ImportError:
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
import mock

import grpc
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/gapic/dialogflowcx_v3beta1/test_agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# try/except added for compatibility with python < 3.8
try:
from unittest import mock
from unittest.mock import AsyncMock
except ImportError:
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
import mock

import grpc
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/gapic/dialogflowcx_v3beta1/test_changelogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# try/except added for compatibility with python < 3.8
try:
from unittest import mock
from unittest.mock import AsyncMock
except ImportError:
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
import mock

import grpc
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/gapic/dialogflowcx_v3beta1/test_deployments.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# try/except added for compatibility with python < 3.8
try:
from unittest import mock
from unittest.mock import AsyncMock
except ImportError:
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
import mock

import grpc
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/gapic/dialogflowcx_v3beta1/test_entity_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# try/except added for compatibility with python < 3.8
try:
from unittest import mock
from unittest.mock import AsyncMock
except ImportError:
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
import mock

import grpc
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/gapic/dialogflowcx_v3beta1/test_environments.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# try/except added for compatibility with python < 3.8
try:
from unittest import mock
from unittest.mock import AsyncMock
except ImportError:
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
import mock

import grpc
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/gapic/dialogflowcx_v3beta1/test_experiments.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# try/except added for compatibility with python < 3.8
try:
from unittest import mock
from unittest.mock import AsyncMock
except ImportError:
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
import mock

import grpc
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/gapic/dialogflowcx_v3beta1/test_flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# try/except added for compatibility with python < 3.8
try:
from unittest import mock
from unittest.mock import AsyncMock
except ImportError:
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
import mock

import grpc
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/gapic/dialogflowcx_v3beta1/test_intents.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# try/except added for compatibility with python < 3.8
try:
from unittest import mock
from unittest.mock import AsyncMock
except ImportError:
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
import mock

import grpc
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/gapic/dialogflowcx_v3beta1/test_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# try/except added for compatibility with python < 3.8
try:
from unittest import mock
from unittest.mock import AsyncMock
except ImportError:
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
import mock

import grpc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# try/except added for compatibility with python < 3.8
try:
from unittest import mock
from unittest.mock import AsyncMock
except ImportError:
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
import mock

import grpc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# try/except added for compatibility with python < 3.8
try:
from unittest import mock
from unittest.mock import AsyncMock
except ImportError:
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
import mock

import grpc
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/gapic/dialogflowcx_v3beta1/test_sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# try/except added for compatibility with python < 3.8
try:
from unittest import mock
from unittest.mock import AsyncMock
except ImportError:
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
import mock

import grpc
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/gapic/dialogflowcx_v3beta1/test_test_cases.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# try/except added for compatibility with python < 3.8
try:
from unittest import mock
from unittest.mock import AsyncMock
except ImportError:
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
import mock

import grpc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# try/except added for compatibility with python < 3.8
try:
from unittest import mock
from unittest.mock import AsyncMock
except ImportError:
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
import mock

import grpc
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/gapic/dialogflowcx_v3beta1/test_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# try/except added for compatibility with python < 3.8
try:
from unittest import mock
from unittest.mock import AsyncMock
except ImportError:
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
import mock

import grpc
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/gapic/dialogflowcx_v3beta1/test_webhooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# try/except added for compatibility with python < 3.8
try:
from unittest import mock
from unittest.mock import AsyncMock
except ImportError:
from unittest.mock import AsyncMock # pragma: NO COVER
except ImportError: # pragma: NO COVER
import mock

import grpc
Expand Down

0 comments on commit b791c89

Please sign in to comment.