Config Settings¶
There are a few settings you can choose to affect the behavior of the config object. You can view and change the settings with the property cfg.settings:
silent- IfTrue, suppresses all print messages when values from the config are accessed and updated (Falseby default).readonly- IfTrue, prevents any changes to the config values (Falseby default).creator- If specified, this must be the name of a registered creator, which will be used to create the config values (defaults toDefaultCreator), for more information see the guide about creators.force_create- IfTrue, will always create new instances of components when pulling config values (Falseby default).allow_create- IfFalse, only instances of components that have already been instantiated are returned when pulling config values (Trueby default).ask_parents- IfTrue, missing keys will check in the parent config node (recursively) before raising aSearchFailederror (Trueby default).allow_cousins- (advanced feature) IfTrue, missing keys will check in the parent’s parent config node (recursively) with the current node’s key prepended before raising aSearchFailederror (Falseby default).