monarchs.config.apply
Apply the settings catalogue to a loaded ModelSetup object (see monarchs.core.load_model_setup).
The defined functions here operate on a ModelSetup instance, which is mutable and allows for its parameters to be changed based on the rules we have defined. This is then at the end converted into an immutable Config object, which cannot be changed during runtime.
Attributes
Functions
|
Report all the problems found by |
|
Settings that have no default and so must come from the runscript. |
|
Cross-setting rule violations. Rules that only warn are warned about here. |
|
Type, choice and validator problems, across every setting that is set. |
|
Check that every REQUIRED setting is present, reporting all missing fields |
|
Run the cross-setting rules, raising (or warning) on every violation. |
|
Validate the settings the user provided against choices/validators. |
|
Run the setup pipeline and return the frozen Config. |
|
Set catalogue defaults for any missing settings, resolving computed |
Module Contents
- monarchs.config.apply.Config