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:
ConfigContains 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:
- other
str,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 fromsearchPaths. No defaults will be read if aButlerConfigis supplied directly.- 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(). They are only read ifotherrefers to a configuration file or directory.- without_datastore
bool, optional If
Trueremove the datastore configuration.
- other
Methods Summary
Methods Documentation
- get_butler_type() ButlerType¶