-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
feat(python): Load AWS endpoint_url
using boto3
#22851
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
Conversation
8d8c9fe
to
3d4b619
Compare
@@ -7,4 +7,5 @@ def verbose() -> bool: | |||
return os.getenv("POLARS_VERBOSE") == "1" | |||
|
|||
|
|||
eprint = partial(print, file=sys.stderr) | |||
def eprint(*a, **kw): | |||
return print(*a, file=sys.stderr, **kw) |
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.
drive-by, ensure eprint
does not capture sys.stderr
upon import, this caused pytest capfd
to not work as it presumably relies on patching sys.stderr
(pytest-dev/pytest#5997)
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #22851 +/- ##
==========================================
+ Coverage 80.98% 81.04% +0.05%
==========================================
Files 1674 1674
Lines 236937 237065 +128
Branches 2787 2792 +5
==========================================
+ Hits 191883 192127 +244
+ Misses 44388 44269 -119
- Partials 666 669 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Note, this will require
boto3
to be installed on the system that executes the query. It is not compatible with:credential_provider
(or passingNone
)