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

Updated file read to not fail early with a boto empty file exception #614

Merged
merged 1 commit into from Jun 6, 2021

Conversation

MSeal
Copy link
Member

@MSeal MSeal commented Jun 6, 2021

What does this PR do?

Breaks out of the read loop in s3 cat function to avoid RFC2616#14.35.1.

Fixes #603

@MSeal MSeal requested a review from willingc June 6, 2021 18:21
@codecov
Copy link

codecov bot commented Jun 6, 2021

Codecov Report

Merging #614 (5493131) into main (05f224b) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #614   +/-   ##
=======================================
  Coverage   92.67%   92.68%           
=======================================
  Files          17       17           
  Lines        1516     1518    +2     
=======================================
+ Hits         1405     1407    +2     
  Misses        111      111           
Impacted Files Coverage Δ
papermill/s3.py 77.61% <100.00%> (+0.22%) ⬆️

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 05f224b...5493131. Read the comment docs.

Copy link
Member

@willingc willingc left a comment

Choose a reason for hiding this comment

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

Love the tests. Thanks @MSeal

@willingc willingc merged commit d30bcf2 into nteract:main Jun 6, 2021
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.

Empty parameters file in S3 raises a InvalidRange exception
2 participants