ButlerConfig¶
- class lsst.daf.butler.ButlerConfig(other: str | ParseResult | ResourcePath | Path | Config | None = None, searchPaths: Sequence[str | ParseResult | ResourcePath | Path] | None = None, without_datastore: bool = False)¶
- Bases: - Config- Contains the configuration for a - Butler.- The configuration is read and merged with default configurations for the particular classes. The defaults are read according to the rules outlined in - ConfigSubset. Each component of the configuration associated with a configuration class reads its own defaults.- Parameters:
- otherstr,Config,ButlerConfig, optional
- Path to butler configuration YAML file or a directory containing a “butler.yaml” file. If - Nonethe butler will be configured based entirely on defaults read from the environment or from- searchPaths. No defaults will be read if a- ButlerConfigis supplied directly.
- searchPathslistortuple, 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(). They are only read if- otherrefers to a configuration file or directory.
- without_datastorebool, optional
- If - Trueremove the datastore configuration.
 
- other
 - Methods Summary - Methods Documentation - get_butler_type() ButlerType¶