ConfigSubset¶
- 
class lsst.daf.butler.ConfigSubset(other=None, validate=True, mergeDefaults=True, searchPaths=None)¶
- Bases: - lsst.daf.butler.Config- Config representing a subset of a more general configuration. - Subclasses define their own component and when given a configuration that includes that component, the resulting configuration only includes the subset. For example, your config might contain - schemaif it’s part of a global config and that subset will be stored. If- schemacan not be found it is assumed that the entire contents of the configuration should be used.- Default values are read from the environment or supplied search paths using the default configuration file name specified in the subclass. This allows a configuration class to be instantiated without any additional arguments. - Additional validation can be specified to check for keys that are mandatory in the configuration. - Parameters: - other : Configorstrordict
- Argument specifying the configuration information as understood by - Config
- validate : bool, optional
- If - Truerequired keys will be checked to ensure configuration consistency.
- mergeDefaults : bool, optional
- If - Truedefaults will be read and the supplied config will be combined with the defaults, with the supplied valiues taking precedence.
- searchPaths : listortuple, optional
- Explicit additional paths to search for defaults. They should be supplied in priority order. These paths have higher priority than those read from the environment in - ConfigSubset.defaultSearchPaths().
 
- other :