You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "atakiar (via GitHub)" <gi...@apache.org> on 2026/03/23 08:54:47 UTC
[PR] feat(bindings/python): support options for presign operations [opendal]
atakiar opened a new pull request, #7265:
URL: https://github.com/apache/opendal/pull/7265
# Which issue does this PR close?
Closes #7264.
# Rationale for this change
Python bindings presign methods don't support any options i.e. `override_content_disposition` even though the core supports `presign_(stat|read|write|delete)_options` and the Python bindings already pass these options for `stat`, `read`, and `write` operations.
# What changes are included in this PR?
Add optional kwargs to all 4 `AsyncOperator` presign methods, calling the methods with options instead of the methods without options. Also adds a `DeleteOptions` struct and updated the stubs accordingly.
# Are there any user-facing changes?
Yes, though backwards compatible. `AsyncOperator` presign methods now accept optional kwargs for `content_disposition`, `content_type`, etc.
# AI Usage Statement
Yes, using Claude Code (claude-opus-4-6, 1m context, high thinking).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(bindings/python): support options for presign operations [opendal]
Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo merged PR #7265:
URL: https://github.com/apache/opendal/pull/7265
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org