romtools.hpc.configuration#
Classes
|
Handles parsing a yaml file and any supplied command-line args. |
- class romtools.hpc.configuration.Configuration(argv=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:
argv (list) – Argument list to parse instead of the real process argv (sys.argv[1:]). Pass an explicit list (e.g. []) to build a Configuration without reading the host process’s CLI args – useful for embedding (e.g. LocalDispatcher) where those args aren’t meant to apply.