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

Make extra_args in S3Hook immutable between calls #24527

Merged
merged 1 commit into from
Jun 19, 2022

Conversation

Taragolis
Copy link
Contributor

@Taragolis Taragolis commented Jun 17, 2022

At that moment in S3Hooks methods: load_file, load_string, load_bytes, load_file_obj might change extra_args argument.

And if user call this methods multiple times in single operator with different arguments the result could be unexpected.

@potiuk potiuk merged commit 7293e31 into apache:main Jun 19, 2022
@Taragolis Taragolis deleted the aws-s3hook-extra-args branch August 6, 2022 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:providers provider:amazon-aws AWS/Amazon - related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants