-
Notifications
You must be signed in to change notification settings - Fork 159
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] Add S3Config.from_env functionality #2137
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2137 +/- ##
==========================================
- Coverage 85.15% 85.14% -0.01%
==========================================
Files 68 68
Lines 7356 7358 +2
==========================================
+ Hits 6264 6265 +1
- Misses 1092 1093 +1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Adds a constructor for S3Config:
S3Config.from_env
.This constructor creates an S3Config from the current environment, leveraging our current code for auto-discovering things such as: region, credentials and anonymous mode.
Closes: #2139