Skip to content

sift_py.ingestion.config.yaml.load

FUNCTION DESCRIPTION
read_and_validate

Reads in the telemetry config YAML file found at path and validates it. Any errors that may occur at the parsing

ATTRIBUTE DESCRIPTION
load_named_expression_modules

load_named_expression_modules module-attribute

load_named_expression_modules = (
    load_named_expression_modules
)

read_and_validate

read_and_validate(path: Path) -> TelemetryConfigYamlSpec

Reads in the telemetry config YAML file found at path and validates it. Any errors that may occur at the parsing step will return an error whose source is the yaml package. Any errors that may occur during the validation step will return a sift_py.ingestion.config.yaml.error.YamlConfigError.