Comments (4)
Thank you for your quick feedback. I tested your 2 points:
- Awaiting the first task before the other are executed indeed works. Let me know if I can be of any help for caching logic investigation.
- When providing the full endpoint (
my-bucket--eun1-az1--x-s3.s3express-eun1-az1.eu-north-1.amazonaws.com
in my example), I get aNoSuchBucket
error surprisingly.
from aiobotocore.
Thank you for reporting the issue. I have a few ideas and could need your help to check them out and report back:
-
We had to implement a custom credential cache that might be to blame. Could you please try to await the first
put_object
task before gathering the others?await tasks[0] await asyncio.gather(*tasks[1:])
If that helps, I will attempt to improve the caching logic.
-
According to docs for PutObject:
When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format Bucket_name.s3express-az_id.region.amazonaws.com.
Have you tried providing the bucket name in this format?
from aiobotocore.
- Awaiting the first task before the other are executed indeed works. Let me know if I can be of any help for caching logic investigation.
Great! I will prepare a fix ASAP.
- When providing the full endpoint (
my-bucket--eun1-az1--x-s3.s3express-eun1-az1.eu-north-1.amazonaws.com
in my example), I get aNoSuchBucket
error surprisingly.
Well, it was worth a shot.
from aiobotocore.
@jakob-keller ah I missed that, ya it needs to use an asyncio.Lock
from aiobotocore.
Related Issues (20)
- Add link to upstream diff to PR template
- Add new version compatible with airflow 2.5.1 HOT 7
- Aiohttp connection leak
- Support botocore>=1.33.2 HOT 2
- Proxy not working due to signature mismatch HOT 4
- AttributeError: 'S3' object has no attribute 'upload_file'" when calling upload_file on s3 client HOT 2
- 2.10.0 release failed HOT 1
- Support `botocore==1.34.27` HOT 3
- Support for botocore 1.34.33 HOT 1
- Is Session/Client thread or asyncio safe? HOT 3
- Botocore max dependency range HOT 3
- Bump botocore to at least 1.34.40 HOT 5
- support botocore-1.34.53? HOT 3
- Signed urls generated by aiobotocore.signers.AioRequestSigner rejected by AWS HOT 2
- Instance of `StreamingBody` returns `True` for `isinstance` `Iterable` check HOT 4
- Aiobotocore with latest moto server HOT 1
- 2.12.3: pytest fails HOT 3
- 2.12.3: pep517 build and sphinx warnings
- Reusable Initialization of aiobotocore S3 Client HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aiobotocore.