Skip to content
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

Hotfix/add disposition params for s3 presign url api #28

Merged
merged 3 commits into from
Jul 11, 2024

Conversation

raylrui
Copy link
Contributor

@raylrui raylrui commented Jul 11, 2024

Fix:

  • add content_disposition param in the libumccr.aws.libs3.presign_s3_file function.
  • Set default value inline will not change the default behaviour as before.

Refer: about ResponseContentDisposition Params in the boto3 s3 client, boto/boto3#356 (comment)
boto/boto3#610 (comment)

Link:
apis of PR, umccr/data-portal-apis#705
ui issues, umccr/data-portal-client#342

@victorskl
Copy link
Member

Reviewing...

@victorskl victorskl added this to the Release 0.4.0 milestone Jul 11, 2024
@victorskl
Copy link
Member

Merge when you ready, Ray.

@raylrui raylrui merged commit c37f2ee into main Jul 11, 2024
7 checks passed
@raylrui
Copy link
Contributor Author

raylrui commented Jul 11, 2024

merged, think of publishing.....

@victorskl victorskl deleted the hotfix/add-disposition-params-for-s3-presign-url-api branch July 11, 2024 01:33
@victorskl
Copy link
Member

I will publish it to PyPI.

@raylrui
Copy link
Contributor Author

raylrui commented Jul 11, 2024

I will update the portal-apis PR deps when it is ready

@victorskl
Copy link
Member

0.4.0rc4 is in:
https://pypi.org/project/libumccr/0.4.0rc4/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants