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

DM-43027: Make RemoteButler.find_dataset consistent with DirectButler #968

Merged
merged 5 commits into from Feb 27, 2024

Conversation

dhirving
Copy link
Contributor

Checklist

  • ran Jenkins
  • added a release note for user-visible changes to doc/changes

RemoteButler now passes globs to the server if one is given as a collections parameter, instead of silently discarding them.  It can also now handle "..." to mean "all collections".  Explicit exceptions are now raised for regular expressions, which will not be supported in the future.
Fix an issue where RemoteButler would throw validation errors instead of allowing 'None' to be returned from find_dataset.
@dhirving
Copy link
Contributor Author

I originally got the ticket number wrong, so this PR was reviewed as "DM-42037" here: #967

Handle propagation of storage classes from the input DatasetType to the output DatasetRef in RemoteButler.find_dataset, to match DirectButler behavior.
Add support for the timespan parameter to RemoteButler.find_dataset.
Add a method in RemoteButler's registry shim for findDatasets, and run registry tests against it.
Copy link

codecov bot commented Feb 27, 2024

Codecov Report

Attention: Patch coverage is 89.33333% with 8 lines in your changes are missing coverage. Please review.

Project coverage is 88.53%. Comparing base (87c5805) to head (b7a0883).

Files Patch % Lines
.../lsst/daf/butler/remote_butler/_collection_args.py 70.00% 3 Missing and 3 partials ⚠️
python/lsst/daf/butler/remote_butler/_registry.py 85.71% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #968      +/-   ##
==========================================
- Coverage   88.53%   88.53%   -0.01%     
==========================================
  Files         312      313       +1     
  Lines       39998    40036      +38     
  Branches     8363     8371       +8     
==========================================
+ Hits        35411    35444      +33     
- Misses       3376     3379       +3     
- Partials     1211     1213       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dhirving dhirving merged commit b6936e0 into main Feb 27, 2024
18 checks passed
@dhirving dhirving deleted the tickets/DM-43027 branch February 27, 2024 20:46
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.

None yet

2 participants