-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
S3 multipart upload: attributes swapped? #59
Labels
bug
This issue is a confirmed bug.
pending-release
This issue will be fixed by an approved PR that hasn't been released yet.
Comments
tgal
changed the title
S3 multipart upload: parameter swapped?
S3 multipart upload: attributes swapped?
Feb 8, 2015
This looks like an issue with the order of items here: ...
"Part": {
"resource": {
"type": "MultipartUploadPart",
"identifiers": [
{ "target": "BucketName", "source": "identifier", "name": "BucketName" },
{ "target": "MultipartUploadId", "source": "identifier", "name": "Id" }, <--- whoops
{ "target": "ObjectKey", "source": "identifier", "name": "ObjectKey" }, <---
{ "target": "PartNumber", "source": "input" }
]
}
}
... |
@tgal I have opened up a pull request against our new model validator so hopefully we can catch these sort of issues earlier next time: |
danielgtaylor
added a commit
that referenced
this issue
Feb 10, 2015
This change fixes the issue described in #59 by updating the model based on the output of the proposed change in amazon-archives/aws-model-validators#2. The following now works properly: ```python import boto3 obj = boto3.resource('s3').Bucket('foo').Object('bar') mpu = obj.initiate_multipart_upload() part = mpu.MultipartUploadPart(1) print(part.object_key) ```
danielgtaylor
added
the
pending-release
This issue will be fixed by an approved PR that hasn't been released yet.
label
Feb 10, 2015
This is now released in 0.0.8. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
This issue is a confirmed bug.
pending-release
This issue will be fixed by an approved PR that hasn't been released yet.
Hello! I'm not sure whether it's me who's making a mistake here or not (boto3 0.0.7):
In the MultipartUploadPart object the values for object_key and multipart_upload_id seem inverted.
Do I use this function in a wrong way?
The text was updated successfully, but these errors were encountered: