Terri Cain
Terri Cain
Hey, feel free :)
Let me know when you've got something in pypi and i'll add something to the readme
So, this was done long enough ago that I can't remember _exactly_ why, but it was along the lines of there were some pretty extensive changes to how aiobotocore was...
You'll want to tweak these values - https://github.com/terrycain/aioboto3/blob/master/aioboto3/s3/inject.py#L202 Its possible s3transfer now uses different values since I copied them years ago, see if setting the max io queue to 2...
Ok so you have 2 options: * Pass in a valid s3 client object into the functions. This is somewhat easier with web libraries as you can normally store it...
Yeah because you've functionally not done anything different. try ```python app.aio_s3_client = None async def get_s3_client(): if app.aio_s3_client is None: app.aio_s3_client = await app.aio_session.client('s3', region_name=REGION) return app.aio_s3_client ... async def...
Ok I've looked into it, reusing the session can be done, but reusing the output of session.client('s3') etc... doesnt make sense due to how Chalice and by extension lambda works....
Im going to guess that the versions of botocore / aiobotocore/ boto3 dont align. Can you get me the output of pip freeze?
This would probably be an issue with aiobotocore, as aioboto3 uses its credential handling.
Ah yeah, I have an idea why that might not work. Will look into it on the weekend if I get a chance.