Skip to content

Commit 4c73a46

Browse files
ohmayrvchudnov-g
authored andcommitted
remove retryAttempt
1 parent f8e2562 commit 4c73a46

File tree

1 file changed

+1
-3
lines changed
  • gapic/templates/%namespace/%name_%version/%sub/services/%service/transports

1 file changed

+1
-3
lines changed

gapic/templates/%namespace/%name_%version/%sub/services/%service/transports/grpc.py.j2

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
{% block content %}
44

5+
import logging
56
import warnings
67
from typing import Callable, Dict, Optional, Sequence, Tuple, Union
78

@@ -42,8 +43,6 @@ from google.longrunning import operations_pb2 # type: ignore
4243
{% endfilter %}
4344
from .base import {{ service.name }}Transport, DEFAULT_CLIENT_INFO
4445

45-
import logging
46-
4746
try: # pragma: NO COVER
4847
from google.api_core import client_logging # type: ignore
4948
CLIENT_LOGGING_SUPPORTED = True
@@ -62,7 +61,6 @@ class MetadataClientInterceptor(grpc.UnaryUnaryClientInterceptor):
6261
extra = {
6362
"serviceName": "{{ service.meta.address.proto }}",
6463
"rpcName": client_call_details.method,
65-
"retryAttempt": 1,
6664
"request": type(request).to_json(request),
6765
"metadata": str(dict(request_metadata)),
6866
},

0 commit comments

Comments
 (0)