Skip to content

Commit

Permalink
Deprecate DimensionUniverse.expandDimensionNameSet.
Browse files Browse the repository at this point in the history
Only usage was in DimensionGraph.
  • Loading branch information
TallJimbo committed Nov 6, 2023
1 parent dd2d847 commit bd1f2c2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions python/lsst/daf/butler/dimensions/_universe.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,12 @@ def getDimensionIndex(self, name: str) -> int:
"""
return self._dimensionIndices[name]

# TODO: remove on DM-41326.
@deprecated(
"Deprecated in favor of DimensionUniverse.conform, and will be removed after v27.",
version="v27",
category=FutureWarning,
)
def expandDimensionNameSet(self, names: set[str]) -> None:
"""Expand a set of dimension names in-place.
Expand Down

0 comments on commit bd1f2c2

Please sign in to comment.