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:
- other
str
,Config
,ButlerConfig
, optional Path to butler configuration YAML file or a directory containing a “butler.yaml” file. If
None
the butler will be configured based entirely on defaults read from the environment or fromsearchPaths
. No defaults will be read if aButlerConfig
is supplied directly.- searchPaths
list
ortuple
, 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 ifother
refers to a configuration file or directory.- without_datastore
bool
, optional If
True
remove the datastore configuration.
- other
Methods Summary
Methods Documentation
- get_butler_type() ButlerType ¶