aliyun / aliyun-openapi-python-sdk

Alibaba Cloud SDK for Python
Other
1.01k stars 588 forks source link

do_action_with_exception failed #541

Open steven-yan opened 4 days ago

steven-yan commented 4 days ago

do_action_with_exception failed with HTTPSConnection.init() got an unexpected keyword argument 'cert_file'

steven-yan commented 4 days ago

python = "^3.12" aliyun-python-sdk-sts = "^3.1.2" aliyunsdkcore = "^1.0.3"

get_https_response_object self.connection=httplib.HTTPSConnection(self.get_host(),self.__port,cert_file=self.cert_file, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: HTTPSConnection.init() got an unexpected keyword argument 'cert_file'