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-43414: Update make_apdb module for changes in APDB API #173

Merged
merged 4 commits into from Apr 2, 2024

Conversation

andy-slac
Copy link
Contributor

make_apdb will be replaced by apdb-cli sub-command, for now we keep it for compatibility reasons, but update it for new APDB API. This script depends on using pex_config for Apdb configuration, that will be replaced eventually with something different, we may want to drop this script before that change.

`make_apdb` will be replaced by `apdb-cli` sub-command, for now
we keep it for compatibility reasons, but update it for new APDB API.
This script depends on using pex_config for Apdb configuration, that
will be replaced eventually with something different, we may want to
drop this script before that change.
kfindeisen

This comment was marked as outdated.

@kfindeisen kfindeisen dismissed their stale review March 29, 2024 23:52

Forgot docs!

Copy link
Member

@kfindeisen kfindeisen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recommend emitting a deprecation warning from make_apdb.py, otherwise people will keep using it indefinitely.

On that note, please update the docs with the recommended idioms:

python/lsst/ap/pipe/make_apdb.py Show resolved Hide resolved
@andy-slac
Copy link
Contributor Author

@kfindeisen, I added deprecation, updated docs and pipelines. PR for prompt_processing playbook is here: lsst-dm/prompt_processing#151

Copy link
Member

@kfindeisen kfindeisen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the main user guide for apdb-cli should be in the same package (i.e., dax_apdb), but happy to leave that for later. DM-43416 will require another rewrite of this text anyway. 🙂

doc/lsst.ap.pipe/apdb.rst Show resolved Hide resolved
python/lsst/ap/pipe/make_apdb.py Outdated Show resolved Hide resolved
doc/lsst.ap.pipe/apdb.rst Outdated Show resolved Hide resolved
@andy-slac andy-slac merged commit b014a56 into main Apr 2, 2024
2 checks passed
@andy-slac andy-slac deleted the tickets/DM-43414 branch April 2, 2024 22:15
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

3 participants