File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -441,7 +441,11 @@ def build_from_document(
441441 raise MutualTLSChannelError (
442442 "ClientOptions.client_cert_source is not supported, please use ClientOptions.client_encrypted_cert_source."
443443 )
444- if client_options and client_options .client_encrypted_cert_source :
444+ if (
445+ client_options
446+ and hasattr (client_options , "client_encrypted_cert_source" )
447+ and client_options .client_encrypted_cert_source
448+ ):
445449 client_cert_to_use = client_options .client_encrypted_cert_source
446450 elif adc_cert_path and adc_key_path and mtls .has_default_client_cert_source ():
447451 client_cert_to_use = mtls .default_client_encrypted_cert_source (
Original file line number Diff line number Diff line change 4141 "httplib2>=0.9.2,<1dev" ,
4242 "google-auth>=1.16.0" ,
4343 "google-auth-httplib2>=0.0.3" ,
44- "google-api-core>=1.13 .0,<2dev" ,
44+ "google-api-core>=1.17 .0,<2dev" ,
4545 "six>=1.6.1,<2dev" ,
4646 "uritemplate>=3.0.0,<4dev" ,
4747]
You can’t perform that action at this time.
0 commit comments