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-39377: Deprecate PipelineTaskConfig.saveMetadata
field
#341
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #341 +/- ##
==========================================
- Coverage 82.58% 82.52% -0.07%
==========================================
Files 62 61 -1
Lines 6925 6865 -60
Branches 1368 1363 -5
==========================================
- Hits 5719 5665 -54
+ Misses 929 926 -3
+ Partials 277 274 -3
☔ 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.
Don't we also have to stop using the config in pipeline.py?
python/lsst/pipe/base/config.py
Outdated
@@ -200,6 +200,7 @@ class to allow configuration of the connections class. This dynamically | |||
default=True, | |||
optional=False, | |||
doc="Flag to enable/disable metadata saving for a task, enabled by default.", | |||
deprecated="This field is deprecated and will be removed after v25.", |
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 think it has to be v26 because v25 is already being worked on from earlier in the year.
Hmm, I was thinking that we'll be doing some cleanup when we actually drop it completely. But I can certainly update things now to assume that saveMetadata is always true (ctrl_mpexec is the other place with that logic). |
I think if we deprecate a config we are meant to stop using it. |
Code is updated to always store task metadata.
051a00a
to
94e4d71
Compare
I guess the change note should mention explicitly that the saveMetadata config is now ignored. |
94e4d71
to
e01d346
Compare
Also removes unused
ResourceConfig
class.Checklist
doc/changes