Skip to content

ExtraArgs arguments supported by Bucket.copy #3163

@LeonidVas

Description

@LeonidVas

Hi! As far as I understood from https://github.com/boto/s3transfer/blob/279f82c6f9d01b19abf69d8fa08441c2064fba7f/s3transfer/manager.py#L381 the Bucket.copy operation should support ALLOWED_COPY_ARGS set of arguments in ExtraArgs (that is more than ALLOWED_UPLOAD_ARGS), but in the documentation and here describes that Bucket.copy supports only ALLOWED_DOWNLOAD_ARGS.

Which of the options is correct:

  • it is a mistake in the documentation and ALLOWED_COPY_ARGS support is guaranteed
  • a guaranteed set of arguments - only ALLOWED_DOWNLOAD_ARGS and it is not reasonable to use other arguments
  • I missed something when investigating the code and only the ALLOWED_DOWNLOAD_ARGS set of arguments is actually supported

Metadata

Metadata

Assignees

Labels

documentationThis is a problem with documentation.investigatingThis issue is being investigated and/or work is in progress to resolve the issue.p3This is a minor priority issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions