-
Notifications
You must be signed in to change notification settings - Fork 1
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-46363: Allow ObscoreExporter to work without SqlRegistry #19
Conversation
for dataset_type_name in self.config.dataset_types: | ||
_LOG.debug("Reading data for dataset %s", dataset_type_name) | ||
refs = registry.queryDatasets(dataset_type_name, collections=collections, where=self.config.where) | ||
refs = self.butler.registry.queryDatasets( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is rewritten in #18 to use butler.query() but rebasing should be pretty straightforward.
8b5f367
to
7607dce
Compare
Remove a dependency on SqlRegistry in ObscoreExporter, to allow it to work with RemoteButler.
7607dce
to
62b100d
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #19 +/- ##
==========================================
- Coverage 62.07% 62.03% -0.04%
==========================================
Files 11 11
Lines 472 461 -11
Branches 108 107 -1
==========================================
- Hits 293 286 -7
+ Misses 169 166 -3
+ Partials 10 9 -1 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. I noticed that mypy.ini
needs a small update, I can push it to your branch if you prefer.
Sure, go ahead and push it. |
OK, I updated mypy.ini, but I did not re-order things so |
1ada739
to
40f3db7
Compare
Remove a dependency on SqlRegistry in ObscoreExporter, to allow it to work with RemoteButler for the SIAv2 project.