Skip to content

Commit

Permalink
Add some example converters for Packages objects
Browse files Browse the repository at this point in the history
  • Loading branch information
timj committed Jan 14, 2022
1 parent 6730b6d commit dca815c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/lsst/daf/butler/configs/storageClasses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ storageClasses:
pytype: int
StructuredDataDict:
pytype: dict
converters:
lsst.base.Packages: to_dict()
StructuredDataList:
pytype: list
TablePersistable:
Expand Down Expand Up @@ -234,6 +236,8 @@ storageClasses:
pytype: lsst.pex.config.Config
Packages:
pytype: lsst.base.Packages
converters:
dict: lsst.base.Packages
NumpyArray:
pytype: numpy.ndarray
Thumbnail:
Expand Down

0 comments on commit dca815c

Please sign in to comment.