Skip to content

Commit

Permalink
Make dimension packer config optional
Browse files Browse the repository at this point in the history
The default config should work in most cases, so it doesn't need to be
required.
  • Loading branch information
parejkoj committed Nov 2, 2023
1 parent 091d041 commit 9f2c0c0
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 9f2c0c0

Please sign in to comment.