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

Accept and pass on a prefix value. #79

Merged
merged 4 commits into from
Aug 24, 2017

Conversation

exarkun
Copy link
Member

@exarkun exarkun commented Aug 24, 2017

Fixes #78

@codecov
Copy link

codecov bot commented Aug 24, 2017

Codecov Report

Merging #79 into master will decrease coverage by 0.43%.
The diff coverage is 100%.

Impacted file tree graph

@@            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
Impacted Files Coverage Δ
txaws/testing/s3_tests.py 100% <100%> (ø) ⬆️
txaws/testing/s3.py 89.36% <100%> (+0.47%) ⬆️
txaws/s3/client.py 94.11% <100%> (-0.78%) ⬇️
txaws/s3/tests/test_client.py 100% <100%> (ø) ⬆️
txaws/route53/client.py 87.5% <0%> (-12.5%) ⬇️
txaws/testing/integration.py 78.57% <0%> (-7.15%) ⬇️
txaws/service.py 87.61% <0%> (-6.67%) ⬇️
txaws/client/ssl.py 71.25% <0%> (-3.75%) ⬇️
txaws/client/base.py 88.25% <0%> (-2.69%) ⬇️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e64d2ec...2b6821f. Read the comment docs.

Copy link
Member

@markrwilliams markrwilliams left a 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.

@exarkun exarkun dismissed markrwilliams’s stale review August 24, 2017 18:55

Comments addressed

Copy link
Member

@markrwilliams markrwilliams left a 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):
Copy link
Member

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(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See #80

@markrwilliams markrwilliams merged commit 594621e into twisted:master Aug 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants