Skip to content
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

feat: unify API on snapshot_id #770

Merged
merged 2 commits into from
Feb 23, 2025

Conversation

DahnJ
Copy link
Contributor

@DahnJ DahnJ commented Feb 22, 2025

Aligning the parameter names: always using snapshot_id for the string id

Closes #676

Made the changes in

  • ancestry
  • async_ancestry
  • diff
  • readonly_session

There are a few more errors that could be changed (1, 2) and some internal uses (example) that I didn't change. Let me know if they should also be aligned.

@DahnJ DahnJ force-pushed the feat/dj-unify-session-id branch from 509532c to 30edf17 Compare February 22, 2025 11:34
@mpiannucci
Copy link
Contributor

mpiannucci commented Feb 22, 2025

I am pretty sure changing the RefData would have broken format stability (maybe not, I'm not sure), so good call reverting that.

I think you got all the important points, the user facing API def the most important here

@DahnJ
Copy link
Contributor Author

DahnJ commented Feb 22, 2025

CI failing due to newly unmaintained ring dependency.

@mpiannucci
Copy link
Contributor

Ya saw that yesterday... once I fix that later, I'll get this merged in. Thanks a lot!

@mpiannucci mpiannucci merged commit 474e004 into earth-mover:main Feb 23, 2025
5 checks passed
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.

repo.readonly_session has parameter snapshot, not snapshot_id
2 participants