sqlcompyre.config.validation module
- sqlcompyre.config.validation.read_config(file_path: Path) Config[source]
Reads in the yaml configuration file from the given path and parse it into Config object ensuring the validity of the configuration file.
- Args:
file_path: File of the yaml configuration to parse
- Returns:
parsed Config object
- Raises:
pydantic.ValidationError: If the configuration cannot be validated.