Skip to content

Conversation

@efiop
Copy link
Contributor

@efiop efiop commented Dec 15, 2023

After such a long time using it, it is clear that it wasn't the right decision and path manipulation methods should be right in the class. For now just moving things as they were, but might rethink particular implementations later.

This also makes it possible to use most of methods as classmethods without having to initialize the filesystem at all.

Per fsspec/filesystem_spec#747 (comment) and also a pre-requisite for it.

After such a long time using it, it is clear that it wasn't the right
decision and path manipulation methods should be right in the class.

This also makes it possible to use most of methods as classmethods without
having to initialize the filesystem at all.

Per fsspec/filesystem_spec#747 (comment) and also a pre-requisite for it.
@codecov-commenter
Copy link

codecov-commenter commented Dec 15, 2023

Codecov Report

Attention: 54 lines in your changes are missing coverage. Please review.

Comparison is base (c01921e) 64.16% compared to head (d2e0b44) 64.35%.

Files Patch % Lines
src/dvc_objects/fs/base.py 60.90% 40 Missing and 3 partials ⚠️
src/dvc_objects/fs/generic.py 0.00% 4 Missing ⚠️
src/dvc_objects/fs/local.py 55.55% 4 Missing ⚠️
src/dvc_objects/fs/utils.py 0.00% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #262      +/-   ##
==========================================
+ Coverage   64.16%   64.35%   +0.19%     
==========================================
  Files          27       26       -1     
  Lines        2051     2051              
  Branches      321      335      +14     
==========================================
+ Hits         1316     1320       +4     
+ Misses        675      672       -3     
+ Partials       60       59       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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