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
Expose ssl credentials from transport.
This is used to fix pubsub client [mtls issue](googleapis/python-pubsub#224). Pubsub client creates its own transport so mtls is completely missing. The solution would be taking the ssl credentials from the auto-generated client's transport and passing it when the handwritten client creates the transport.
Copy file name to clipboardExpand all lines: packages/gapic-generator/gapic/ads-templates/%namespace/%name/%version/%sub/services/%service/transports/grpc.py.j2
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -88,13 +88,16 @@ class {{ service.name }}GrpcTransport({{ service.name }}Transport):
88
88
google.auth.exceptions.MutualTLSChannelError: If mutual TLS transport
Copy file name to clipboardExpand all lines: packages/gapic-generator/gapic/templates/%namespace/%name_%version/%sub/services/%service/transports/grpc.py.j2
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -96,13 +96,16 @@ class {{ service.name }}GrpcTransport({{ service.name }}Transport):
96
96
google.api_core.exceptions.DuplicateCredentialArgs: If both ``credentials``
Copy file name to clipboardExpand all lines: packages/gapic-generator/gapic/templates/%namespace/%name_%version/%sub/services/%service/transports/grpc_asyncio.py.j2
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -140,13 +140,16 @@ class {{ service.grpc_asyncio_transport_name }}({{ service.name }}Transport):
140
140
google.api_core.exceptions.DuplicateCredentialArgs: If both ``credentials``
0 commit comments