BpsConfig¶
-
class
lsst.ctrl.bps.
BpsConfig
(other, search_order=None)¶ Bases:
lsst.daf.butler.Config
Contains the configuration for a BPS submission.
- Parameters
Methods Summary
copy
()Makes a copy of config
search
(key[, opt])Searches for key using given opt following hierarchy rules.
Methods Documentation
-
search
(key, opt=None)¶ Searches for key using given opt following hierarchy rules.
Search hierarchy rules: current values, a given search object, and search order of config sections.
- Parameters
- key
str
Key to look for in config.
- opt
dict
, optional Options dictionary to use while searching. All are optional.
"curvals"
Means to pass in values for search order key (curr_<sectname>) or variable replacements. (
dict
, optional)"default"
Value to return if not found. (
Any
, optional)"replaceVars"
If search result is string, whether to replace variables inside it. By default set to True. (
bool
)"required"
If replacing variables, whether to raise exception if variable is undefined. By default set to False. (
bool
)
- key
- Returns