Skip to content

Commit

Permalink
Await call to async method AioAssumeRoleProvider._load_creds_via_assu… (
Browse files Browse the repository at this point in the history
  • Loading branch information
puzza007 committed Mar 11, 2021
1 parent 183e268 commit f629456
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
Changes
-------
1.2.2 (2021-03-11)
^^^^^^^^^^^^^^^^^^
* Await call to async method _load_creds_via_assume_role #851 (thanks @puzza007)

1.2.1 (2021-02-10)
^^^^^^^^^^^^^^^^^^
* verify strings are now correctly passed to aiohttp.TCPConnector #851 (thanks @FHTMitchell)
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.2.1'
__version__ = '1.2.2'
2 changes: 1 addition & 1 deletion aiobotocore/credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ async def _resolve_credentials_from_profile(self, profile_name):
)
return credentials

return self._load_creds_via_assume_role(profile_name)
return await self._load_creds_via_assume_role(profile_name)

def _resolve_static_credentials_from_profile(self, profile):
try:
Expand Down

0 comments on commit f629456

Please sign in to comment.