-
-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AWS_PROFILE: TypeError: can't pickle coroutine objects #663
Comments
Does this happen with 0.9.4? |
I just tried, could not reproduce:
|
looks like this is assume role, we've repro'd this locally |
try this monkeypatch: _orig_create_client = botocore.credentials.AssumeRoleCredentialFetcher._create_client
def _create_client(self):
frozen_credentials = self._source_credentials.get_frozen_credentials()
if not getattr(self, '_boto_session', None):
self._boto_session = botocore.session.Session()
return self._boto_session.create_client(
'sts',
aws_access_key_id=frozen_credentials.access_key,
aws_secret_access_key=frozen_credentials.secret_key,
aws_session_token=frozen_credentials.token,
)
botocore.credentials.AssumeRoleCredentialFetcher._create_client = _create_client |
unfortunately this is a dup of #619, closing this in favor of other. Please track that other issue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey! I get the following error:
When setting the
AWS_PROFILE
environment variable, and running the following script:Probably related to #619 but not sure.
Running on python 3.6.6 in OS X Mojave.
Using a fresh virtualenv, with only
aiobotocore==0.10.0
installed.The text was updated successfully, but these errors were encountered: