We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
repo.ancestry
We should have a more user-friendly sync API, maybe the latest 10 commits.
The text was updated successfully, but these errors were encountered:
It returns a weird object that can be used both as a sync or async iterator.
Sorry, something went wrong.
Yes list(repo.ancestry()) works, but since we already have a complex object, having the repr return the latest 10 snapshots may be a good option.
list(repo.ancestry())
We could also make it a more complex object that represents the ancestry that allows operations like:
anc = repo.ancestry() anc.show(from=..., to=...) anc.latest(n=10)
So take inspiration from git log
git log
This broke the final example in https://icechunk.io/en/latest/icechunk-python/quickstart/#explore-version-history which using indexing to access the history
No branches or pull requests
We should have a more user-friendly sync API, maybe the latest 10 commits.
The text was updated successfully, but these errors were encountered: