We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b6d208 commit a1a1b73Copy full SHA for a1a1b73
1 file changed
gapic/templates/%namespace/%name_%version/%sub/services/%service/client.py.j2
@@ -197,7 +197,7 @@ class {{ service.client_name }}(metaclass={{ service.client_name }}Meta):
197
GOOGLE_API_USE_CLIENT_CERTIFICATE is set to an unexpected value.)
198
"""
199
# check if google-auth version supports should_use_client_cert for automatic mTLS enablement
200
- if hasattr(mtls, "should_use_client_cert"):
+ if hasattr(mtls, "should_use_client_cert"): # pragma: NO COVER
201
return mtls.should_use_client_cert()
202
else: # pragma: NO COVER
203
# if unsupported, fallback to reading from env var
0 commit comments