diff --git a/ChangeLog.md b/ChangeLog.md index 3a12372..ecf56e5 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,3 +1,6 @@ +### 2020-12-09 Version 0.1.1 +* Change overwrite to a method with `_async` suffix + ### 2020-12-07 Version 0.1.0 * Drop support for python3.4. * Drop support for python3.5. diff --git a/alibabacloud_credentials/__init__.py b/alibabacloud_credentials/__init__.py index 3f5c4a7..93fc4ed 100644 --- a/alibabacloud_credentials/__init__.py +++ b/alibabacloud_credentials/__init__.py @@ -1 +1 @@ -__version__ = "0.1.0" +__version__ = "0.1.1" diff --git a/alibabacloud_credentials/client.py b/alibabacloud_credentials/client.py index f7dc2a7..01dfc83 100644 --- a/alibabacloud_credentials/client.py +++ b/alibabacloud_credentials/client.py @@ -65,16 +65,14 @@ def get_type(self): def get_bearer_token(self): return self.cloud_credential.bearer_token - -class AioClient(Client): @attribute_error_return_none - async def get_access_key_id(self): + async def get_access_key_id_async(self): return self.cloud_credential.get_access_key_id() @attribute_error_return_none - async def get_access_key_secret(self): + async def get_access_key_secret_async(self): return self.cloud_credential.get_access_key_secret() @attribute_error_return_none - async def get_security_token(self): + async def get_security_token_async(self): return self.cloud_credential.get_security_token()