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

init_schemas

validate

Validate configuration items of the loaded invocation.

Attributes

default_known_configs_dir

default_directory

directory_env_var

default_config

extra_schemas

Parameters:
  • default_directory (Path | str) –

  • directory_env_var (str) –

  • default_config (Dict | None) –

  • extra_schemas (List[Schema] | None) –

  • default_known_configs_dir (str | None) –

default_config: Dict | None#
default_directory: Path | str#
default_known_configs_dir: str | None = None#
directory_env_var: str#
extra_schemas: List[Schema] | None#
init_schemas()#
validate(data, logger, metadata=None, raise_with_metadata=True)#

Validate configuration items of the loaded invocation.