From 13ac82650bd8b7089d54e5f0eb25ab7e1c7c30b5 Mon Sep 17 00:00:00 2001 From: Tim Jenness Date: Mon, 19 Aug 2024 13:47:13 -0700 Subject: [PATCH] Add news fragment --- doc/changes/DM-45738.feature.rst | 4 ++++ doc/changes/DM-45738.removal.rst | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 doc/changes/DM-45738.feature.rst create mode 100644 doc/changes/DM-45738.removal.rst diff --git a/doc/changes/DM-45738.feature.rst b/doc/changes/DM-45738.feature.rst new file mode 100644 index 0000000000..df6ddf1f53 --- /dev/null +++ b/doc/changes/DM-45738.feature.rst @@ -0,0 +1,4 @@ +* Added ``--collections`` option to ``butler query-dataset-types`` to allow the resultant dataset types to be constrained by those that are used by specific collections. +* Changed the ``Butler.collections`` property to be a ``ButlerCollections`` instance. + This object can still act as a sequence equivalent to ``ButlerCollections.defaults`` but adds new APIs for querying and manipulating collections. + Any methods with names starting with ``x_`` are deemed to be an experimental API that may change in the future. diff --git a/doc/changes/DM-45738.removal.rst b/doc/changes/DM-45738.removal.rst new file mode 100644 index 0000000000..f165b57d13 --- /dev/null +++ b/doc/changes/DM-45738.removal.rst @@ -0,0 +1,2 @@ +The ``Butler.collection_chains`` property is now deprecated. +Please use ``Butler.collections`` instead.