hpcflow.sdk.config.config.ConfigOptions#
- class hpcflow.sdk.config.config.ConfigOptions(default_directory, directory_env_var, default_config=<factory>, extra_schemas=<factory>, default_known_configs_dir=None)#
Bases:
object
Application-level options for configuration
Methods
Get allowed configurable keys from config schemas.
Validate configuration items of the loaded invocation.
Attributes
Default directory of known configurations.
The default directory.
The environment variable containing the directory name.
The default configuration.
Any extra schemas to apply.
- Parameters:
- init_schemas()#
Get allowed configurable keys from config schemas.
- validate(data, logger, metadata=None, raise_with_metadata=True)#
Validate configuration items of the loaded invocation.