-
Notifications
You must be signed in to change notification settings - Fork 18
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
Accept and pass on a prefix value. #79
Conversation
Codecov Report
@@ Coverage Diff @@
## master #79 +/- ##
==========================================
- Coverage 96.37% 95.93% -0.44%
==========================================
Files 74 74
Lines 8910 8934 +24
Branches 630 634 +4
==========================================
- Hits 8587 8571 -16
- Misses 202 232 +30
- Partials 121 131 +10
Continue to review full report at Codecov.
|
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.
Thank you for this API improvement! The patch's content is good but incomplete: Please add an integration test to txaws.testing.s3_tests
, and, because txaws evidently uses towncrier
, a feature newsfragment
.
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.
Thank you for also updating the double.
@@ -91,12 +94,24 @@ def delete_bucket(self, bucket): | |||
return succeed(None) | |||
|
|||
@_rate_limited | |||
def get_bucket(self, bucket): | |||
def get_bucket(self, bucket, prefix=None): |
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.
Good catch - this also needed to be updated!
return succeed(pieces["listing"]) | ||
listing = pieces["listing"] | ||
if prefix is not None: | ||
listing = attr.assoc( |
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.
See #80
Fixes #78