CompositesMap¶
- class lsst.daf.butler.CompositesMap(config: ResourcePathExpression | ButlerConfig | CompositesConfig, *, universe: DimensionUniverse)¶
- Bases: - object- Determine whether something should be disassembled. - Compares a - DatasetTypeor- StorageClasswith the map and determines whether disassembly is requested.- Parameters:
- configstr,ButlerConfig, orCompositesConfig
- Configuration to control composites disassembly. 
- universeDimensionUniverse
- Set of all known dimensions, used to expand and validate any used in lookup keys. 
 
- config
 - Methods Summary - shouldBeDisassembled(entity)- Indicate whether the entity should be disassembled. - Methods Documentation - shouldBeDisassembled(entity: DatasetRef | DatasetType | StorageClass) bool¶
- Indicate whether the entity should be disassembled. - Parameters:
- entityStorageClassorDatasetTypeorDatasetRef
- Thing to test against the configuration. The - nameproperty is used to determine a match. A- DatasetTypewill first check its name, before checking its- StorageClass. If there are no matches the default will be returned. If the associated- StorageClassis not a composite, will always return- False.
 
- entity
- Returns:
- Raises:
- ValueError
- The supplied argument is not understood.