-
Notifications
You must be signed in to change notification settings - Fork 14
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-41043: internal package reorganization #892
Conversation
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #892 +/- ##
==========================================
+ Coverage 87.70% 87.74% +0.04%
==========================================
Files 272 271 -1
Lines 36190 36358 +168
Branches 7572 7572
==========================================
+ Hits 31739 31903 +164
- Misses 3270 3273 +3
- Partials 1181 1182 +1
☔ View full report in Codecov by Sentry. |
63bc1b8
to
75ee13d
Compare
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.
I'm fine with this reorg. The doc changes look good to me. The patches to other packages show that it's only really edge cases that needed to be fixed.
The base Datastore class is lifted to `lsst.daf.butler.datastore.Datastore`, but other modules are expected to be imported directly from their lower-level modules.
This required a small change to class variables in StorageClass; it turns out the previous approach was (weakly) vulnerable to the order in which modules appear in __init__.py since it called get_full_type_name in import-time logic.
Symbols weren't being lifted, so this shouldn't get a leading underscore.
These are part of the Formatter API, and as much as we'd like it to be that's not just a FileDatastore implementation detail right now.
This also fixes some long-standing warnings and the fact that the old doc index didn't really reflect the old package structure.
81f6ccc
to
7768e59
Compare
Checklist
doc/changes