From f629456c157acb2afe3a17a670996d4a25faf995 Mon Sep 17 00:00:00 2001 From: Paul Oliver Date: Thu, 11 Mar 2021 18:55:52 +1300 Subject: [PATCH] =?UTF-8?q?Await=20call=20to=20async=20method=20AioAssumeR?= =?UTF-8?q?oleProvider.=5Fload=5Fcreds=5Fvia=5Fassu=E2=80=A6=20(#858)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGES.rst | 4 ++++ aiobotocore/__init__.py | 2 +- aiobotocore/credentials.py | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index aba460c7..639ea625 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -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) diff --git a/aiobotocore/__init__.py b/aiobotocore/__init__.py index 39afa02e..5986057c 100644 --- a/aiobotocore/__init__.py +++ b/aiobotocore/__init__.py @@ -1,4 +1,4 @@ from .session import get_session, AioSession __all__ = ['get_session', 'AioSession'] -__version__ = '1.2.1' +__version__ = '1.2.2' diff --git a/aiobotocore/credentials.py b/aiobotocore/credentials.py index e043c1ed..30fb6818 100644 --- a/aiobotocore/credentials.py +++ b/aiobotocore/credentials.py @@ -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: