Skip to content

Commit

Permalink
Merge pull request #478 from lsst/tickets/DM-41345
Browse files Browse the repository at this point in the history
DM-41345: Make dimension packer config optional
  • Loading branch information
parejkoj authored Nov 2, 2023
2 parents 091d041 + 9f2c0c0 commit 6d4dcd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/lsst/obs/lsst/_packer.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class RubinDimensionPacker(DimensionPacker):
data_id : `lsst.daf.butler.DataCoordinate`
Data ID identifying at least the instrument dimension. Does not need
to have dimension records attached.
config : `RubinDimensionPackerConfig`
config : `RubinDimensionPackerConfig`, optional
Configuration for this dimension packer.
is_exposure : `bool`, optional
If `False`, construct a packer for visit+detector data IDs. If `True`,
Expand Down Expand Up @@ -201,7 +201,7 @@ def __init__(
self,
data_id: DataCoordinate,
*,
config: RubinDimensionPackerConfig | None,
config: RubinDimensionPackerConfig | None = None,
is_exposure: bool | None = None,
):
if config is None:
Expand Down

0 comments on commit 6d4dcd9

Please sign in to comment.