Skip to content

Commit

Permalink
Fixes get_frozen_credentials not being async (#786)
Browse files Browse the repository at this point in the history
  • Loading branch information
Terry Cain committed Apr 1, 2020
1 parent 95c1041 commit 78ad71d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
Changes
-------

1.0.1 (2020-04-01)
^^^^^^^^^^^^^^^^^^
* Fixed signing requests with explict credentials

1.0.0 (2020-03-31)
^^^^^^^^^^^^^^^^^^
* API breaking: The result of create_client is now a required async context class
Expand Down
2 changes: 1 addition & 1 deletion aiobotocore/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from .session import get_session, AioSession

__all__ = ['get_session', 'AioSession']
__version__ = '1.0.0'
__version__ = '1.0.1'
3 changes: 3 additions & 0 deletions aiobotocore/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ async def get_credentials(self):
'credential_provider').load_credentials())
return self._credentials

def set_credentials(self, access_key, secret_key, token=None):
self._credentials = AioCredentials(access_key, secret_key, token)

async def get_service_model(self, service_name, api_version=None):
service_description = await self.get_service_data(service_name, api_version)
return ServiceModel(service_description, service_name=service_name)
Expand Down

0 comments on commit 78ad71d

Please sign in to comment.