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

feat(s3): raise an exception when the file cannot be access (#409) #414

Merged
merged 5 commits into from
Apr 19, 2023

Conversation

Sanix-Darker
Copy link
Contributor

WHAT

Cherry pick from this PR : #409

* feat(s3): raise an exception when the file cannot be access

* feat: trying to add more context to the exception raising

* Context + coverage

Signed-off-by: Luka Peschke <luka.peschke@toucantoco.com>

* test: fix typo due to update on test

---------

Signed-off-by: Luka Peschke <luka.peschke@toucantoco.com>
Co-authored-by: Luka Peschke <luka.peschke@toucantoco.com>
@Sanix-Darker Sanix-Darker self-assigned this Apr 19, 2023
@Sanix-Darker Sanix-Darker marked this pull request as ready for review April 19, 2023 08:52
@codecov
Copy link

codecov bot commented Apr 19, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (affb574) 100.00% compared to head (789a8e7) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #414   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           19        19           
  Lines          835       837    +2     
=========================================
+ Hits           835       837    +2     
Impacted Files Coverage Δ
peakina/io/s3/s3_utils.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

peakina/io/s3/s3_utils.py Fixed Show fixed Hide fixed
peakina/io/s3/s3_utils.py Fixed Show fixed Hide fixed
@Sanix-Darker Sanix-Darker force-pushed the feat/s3error-context-for-file-reading branch from ec17816 to 3235968 Compare April 19, 2023 09:41
peakina/io/s3/s3_utils.py Fixed Show fixed Hide fixed
peakina/io/s3/s3_utils.py Fixed Show fixed Hide fixed
with the object path from a split i made on path, let's forward the
objectname directly to see what happens
peakina/io/s3/s3_utils.py Fixed Show fixed Hide fixed
peakina/io/s3/s3_utils.py Fixed Show fixed Hide fixed
@Sanix-Darker Sanix-Darker merged commit 9520a79 into main Apr 19, 2023
@Sanix-Darker Sanix-Darker deleted the feat/s3error-context-for-file-reading branch April 19, 2023 12:21
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