Skip to content

[WIP] Proof of concept fsspec integration - #109

Closed
jayqi wants to merge 3 commits into
masterfrom
fsspec
Closed

jayqi wants to merge 3 commits into
masterfrom
fsspec

Conversation

@jayqi

@jayqi jayqi commented Nov 16, 2020 •

Copy link
Copy Markdown
Member

Implementation of FsspecClient and FsspecPath that work with an fsspec concrete filesystem implementation.

Follow up on #96


  • New abstract FsspecClient, FsspecPath classes. Each registered implementation in fsspec.registry has subclasses autogenerated, e.g., S3Path, GCSPath, HTTPPath.
  • FsspecPath will automatically dispatch to correct subclass, the same way CloudPath does. This dispatching is isolated to FsspecPath; CloudPath still only dispatches to original implementations.
    • Running environment variable FSSPEC_MODE=1 will replace CloudPath's dispatching so that it will dispatch to fsspec subclasses instead of the normal ones.
  • New extras.
    • [fsspec] will install fsspec.
    • Each extras from fsspec has been copied to [fsspec-<name>], e.g.fsspec-s3fs.
    • [fsspec-all] will install all fsspec extras.
    • original [all] does not include any fsspec extras

@jayqi jayqi mentioned this pull request Nov 16, 2020
@jayqi
jayqi requested a review from pjbull November 20, 2020 06:17
@github-actions

Copy link
Copy Markdown
Contributor

@codecov

codecov Bot commented Nov 20, 2020 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 15.74803% with 107 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.1%. Comparing base (8b230c3) to head (ba3d9f3).
⚠️ Report is 154 commits behind head on master.

Files with missing lines Patch % Lines
cloudpathlib/fsspec/implementations.py 0.0% 46 Missing ⚠️
cloudpathlib/fsspec/fsspecclient.py 0.0% 38 Missing ⚠️
cloudpathlib/fsspec/fsspecpath.py 0.0% 19 Missing ⚠️
cloudpathlib/fsspec/__init__.py 0.0% 4 Missing ⚠️

❌ Your patch status has failed because the patch coverage (15.7%) is below the target coverage (80.0%). You can increase the patch coverage or adjust the target coverage.

❗ There is a different number of reports uploaded between BASE (8b230c3) and HEAD (ba3d9f3). Click for more details.

HEAD has 7 uploads less than BASE
Flag BASE (8b230c3) HEAD (ba3d9f3)
8 1
Additional details and impacted files
@@            Coverage Diff            @@
##           master    #109      +/-   ##
=========================================
- Coverage    91.4%   79.1%   -12.4%     
=========================================
  Files           8      12       +4     
  Lines         680     792     +112     
=========================================
+ Hits          622     627       +5     
- Misses         58     165     +107     
Files with missing lines Coverage Δ
cloudpathlib/cloudpath.py 89.8% <100.0%> (+0.1%) ⬆️
cloudpathlib/fsspec/__init__.py 0.0% <0.0%> (ø)
cloudpathlib/fsspec/fsspecpath.py 0.0% <0.0%> (ø)
cloudpathlib/fsspec/fsspecclient.py 0.0% <0.0%> (ø)
cloudpathlib/fsspec/implementations.py 0.0% <0.0%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@pjbull

pjbull commented Jan 22, 2023

Copy link
Copy Markdown
Member

See discussion in #96

@pjbull pjbull closed this Jan 22, 2023
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