romtools.hpc.configuration#
Functions
|
The command-line switch for a schema argument, e.g. "--hpc-remote-root". |
Print the dispatcher's configuration arguments. |
Classes
|
Handles parsing a yaml file and any supplied command-line args. |
Exceptions
Raised when the command line cannot be parsed against SCHEMA. |
- class romtools.hpc.configuration.Configuration(config_path=None)[source]#
Bases:
objectHandles parsing a yaml file and any supplied command-line args.
- Precedence:
CLI args (overwrite YAML)
YAML file values (if provided)
Class defaults
- Parameters:
config_path (str | None) – Path to the YAML file to load. When omitted, the path is taken from -c or –hpc-config on this program’s command line.
- exception romtools.hpc.configuration.ConfigurationError[source]#
Bases:
ExceptionRaised when the command line cannot be parsed against SCHEMA.