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

one.api bugfix: one.load_object should not enforce strict revision #196

Merged
merged 1 commit into from
Feb 26, 2025

Conversation

oliche
Copy link
Member

@oliche oliche commented Feb 25, 2025

The revision parameter was parsed twice: once in a strict manner line 1028, and then getting the last revision before a date in line 1035.

The strict check line 1028 is unnecessary and harmful if the revision doesn't exist.

@oliche oliche requested a review from k1o0 February 25, 2025 16:54
Copy link
Collaborator

@k1o0 k1o0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed! It looks like you added the revision to the list_datasets call in commit 6e9dc87. Given that you introduced this to fix BWM analysis code in this pull just make sure you're happy with the behaviour before merging.

@oliche oliche merged commit f26a07c into v3.0.0 Feb 26, 2025
10 checks passed
@oliche oliche deleted the bugfix/revision branch February 26, 2025 18:07
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