Skip to content

Conversation

@o-santi
Copy link
Contributor

@o-santi o-santi commented Dec 9, 2025

What kind of change does this PR introduce?

Adds a query parameters argument to download method of storage client. This is done because the docs on storage advice the user to bypass caching by setting a unique query parameter on the url (relevant link). However, since we started using the URL builders, the client has been (correctly) ignoring any passed in query parameters for that function, so that was not possible to do.

@coveralls
Copy link

coveralls commented Dec 9, 2025

Pull Request Test Coverage Report for Build 20076663237

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 5 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.02%) to 91.294%

Files with Coverage Reduction New Missed Lines %
src/storage3/_async/file_api.py 5 95.68%
Totals Coverage Status
Change from base Build 19905261542: 0.02%
Covered Lines: 8924
Relevant Lines: 9775

💛 - Coveralls

Copy link
Contributor

@grdsdev grdsdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, do we have tests for this?

@o-santi
Copy link
Contributor Author

o-santi commented Dec 9, 2025

Approved, do we have tests for this?

Just merged two tests to ensure this behavior is maintained going forward.

@o-santi o-santi merged commit 63f7226 into main Dec 9, 2025
11 checks passed
@o-santi o-santi deleted the storage/download-add-query-parameters branch December 9, 2025 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants