I want to user boto3 within docker but this error:
TypeError: _send_request() takes 5 positional arguments but 6 were given always responds to me. For example:
Out the docker:
s3 = boto3.resource('s3')
for bucket in s3.buckets.all():
And everything works, but within docker python interpreter, it gives me the error.
Any idea? Thanks!
you can upgrade your boto3 and will fix it:
pip install –upgrade boto3