aai-institute / lakefs-spec

An fsspec implementation for the lakeFS project.
http://lakefs-spec.org/
Apache License 2.0
37 stars 4 forks source link

Simplify revision parsing in the tutorial notebook #248

Closed nicholasjng closed 5 months ago

nicholasjng commented 5 months ago

From a newly raised issue in lakeFS, it came out that you can actually construct refs from git-like revision selectors, among which is also $BRANCH~N, i.e. branch ancestor syntax.

This makes the code much easier and requires only a single API call.

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (125d6c4) 94.08% compared to head (61921a5) 94.07%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #248 +/- ## ========================================== - Coverage 94.08% 94.07% -0.02% ========================================== Files 5 5 Lines 406 405 -1 Branches 70 70 ========================================== - Hits 382 381 -1 Misses 15 15 Partials 9 9 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.