-
Notifications
You must be signed in to change notification settings - Fork 456
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
Pass revision in path to AbstractBufferedFile init #1948
Conversation
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1948 +/- ##
==========================================
- Coverage 82.41% 82.39% -0.03%
==========================================
Files 66 66
Lines 8133 8133
==========================================
- Hits 6703 6701 -2
- Misses 1430 1432 +2 ☔ View full report in Codecov by Sentry. |
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.
Thanks for opening a PR to fix the issue @albertvillanova! I'm not sure though to understand what could be the side effects of initializing with path
instead of resolved_path.unresolve()
(@mariosasko could you double-check? 🙏).
Since it's fixing an issue, @albertvillanova could you add a regression test in test_hf_file_system.py? Thanks in advance!
@Wauplin, as requested, I have added a regression test. In relation with your question above, note that contrary to |
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.
Thanks for adding the test @albertvillanova!
I also tried it myself and looks good. Let's wait for a quick review from @mariosasko or @lhoestq before merging (if it's not a hurry on your side). Thanks for the fix!
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.
Thanks for the fix !
Thanks for the review, will merge it now :) |
Fix #1947.