You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/gapic-generator/gapic/templates/%namespace/%name_%version/%sub/services/%service/_shared_macros.j2
+14-3Lines changed: 14 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -197,7 +197,7 @@ def _get_http_options():
197
197
method_name (str): The method name.
198
198
service: The service.
199
199
is_async (bool): Used to determine the code path i.e. whether for sync or async call. #}
Copy file name to clipboardExpand all lines: packages/gapic-generator/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2
Copy file name to clipboardExpand all lines: packages/gapic-generator/gapic/templates/%namespace/%name_%version/%sub/services/%service/transports/rest.py.j2
Copy file name to clipboardExpand all lines: packages/gapic-generator/gapic/templates/%namespace/%name_%version/%sub/services/%service/transports/rest_asyncio.py.j2
+11-5Lines changed: 11 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -61,10 +61,10 @@ from .base import DEFAULT_CLIENT_INFO as BASE_DEFAULT_CLIENT_INFO
61
61
62
62
import logging
63
63
64
-
try: # pragma: NO COVER
64
+
try:
65
65
from google.api_core import client_logging # type: ignore
66
-
CLIENT_LOGGING_SUPPORTED = True
67
-
except ImportError:
66
+
CLIENT_LOGGING_SUPPORTED = True # pragma: NO COVER
67
+
except ImportError: # pragma: NO COVER
68
68
CLIENT_LOGGING_SUPPORTED = False
69
69
70
70
_LOGGER = logging.getLogger(__name__)
@@ -199,7 +199,7 @@ class Async{{service.name}}RestTransport(_Base{{ service.name }}RestTransport):
Copy file name to clipboardExpand all lines: packages/gapic-generator/tests/integration/goldens/asset/google/cloud/asset_v1/services/asset_service/async_client.py
+9-6Lines changed: 9 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -47,10 +47,10 @@
47
47
from .transports.grpc_asyncioimportAssetServiceGrpcAsyncIOTransport
0 commit comments