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

feat(python): Support passing aws_profile in storage_options #20965

Merged
merged 2 commits into from
Jan 29, 2025

Conversation

nameexhaustion
Copy link
Collaborator

@nameexhaustion nameexhaustion commented Jan 29, 2025

Closes #18757

Adds handling for aws_profile being passed in storage_options. This is not natively supported by object_store, but we can check this on the Python side and forward it to CredentialProviderAWS. This requires boto3 to be installed, so we also issue a warning if this is not the case.

Note that on the latest release (1.21.0) the environment variable AWS_PROFILE is already being implicitly picked up by boto3.

@github-actions github-actions bot added enhancement New feature or an improvement of an existing feature python Related to Python Polars labels Jan 29, 2025
@nameexhaustion nameexhaustion marked this pull request as ready for review January 29, 2025 07:25
@ritchie46 ritchie46 merged commit d1253db into pola-rs:main Jan 29, 2025
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or an improvement of an existing feature python Related to Python Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AWS_PROFILE should be supported in cloud storage I/O config
2 participants