Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit a216cff

Browse files
committed
Yet another attempt to make mtls straight
1 parent 0b5c052 commit a216cff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • gapic/templates/%namespace/%name_%version/%sub/services/%service

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ class {{ service.client_name }}(metaclass={{ service.client_name }}Meta):
200200
raise ValueError('When providing a transport instance, '
201201
'provide its credentials directly.')
202202
self._transport = transport
203-
elif isinstance(transport, str):
203+
else:
204204
Transport = type(self).get_transport_class(transport)
205205
self._transport = Transport(
206206
credentials=credentials,

0 commit comments

Comments
 (0)