MMMYamlConfig.from_yaml_file#
- classmethod MMMYamlConfig.from_yaml_file(path)[source]#
Load and validate a YAML configuration file.
- Parameters:
- path
strorPath Path to the YAML configuration file.
- path
- Returns:
MMMYamlConfigValidated configuration object.
- Raises:
pydantic.ValidationErrorIf the YAML structure is invalid.
FileNotFoundErrorIf path does not exist.
yaml.YAMLErrorIf the file is not valid YAML.