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-40057: shorten deprecation timeline and add ticket TODOs #175

Merged
merged 3 commits into from
Jul 23, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion python/lsst/ap/association/diaForcedSource.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def run(self,

if expIdBits is not None:
warnings.warn(
"'expIdBits' argument is deprecated in favor of 'idGenerator'; will be removed after v27.",
"'expIdBits' argument is deprecated in favor of 'idGenerator'; will be removed after v26.",
category=FutureWarning,
)

Expand Down
7 changes: 4 additions & 3 deletions python/lsst/ap/association/packageAlerts.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ def run(self,
diaForcedSources,
diffIm,
template,
ccdExposureIdBits=None):
ccdExposureIdBits=None, # TODO: remove (including docs) on DM-38687.
):
"""Package DiaSources/Object and exposure data into Avro alerts.

Writes Avro alerts to a location determined by the
Expand All @@ -112,11 +113,11 @@ def run(self,
template : `lsst.afw.image.ExposureF` or `None`
Template image used to create the ``diffIm``.
ccdExposureIdBits : `int`, optional
Unused. Deprecated and will be removed after v27.
Unused. Deprecated and will be removed after v26.
"""
if ccdExposureIdBits is not None:
warnings.warn(
"The 'ccdExposureIdBits' argument is deprecated and unused; it will be removed after v27.",
"The 'ccdExposureIdBits' argument is deprecated and unused; it will be removed after v26.",
category=FutureWarning,
)
alerts = []
Expand Down