hestia_earth.validation.validators.shared.validate_list_model_config

hestia_earth.validation.validators.shared.validate_list_model_config(node, list_key, conf)[source]

Validates a list using the engine models. This method uses a configuration to determine which term in the elements should run. It does not use the methodModel that could be found on each element.

Parameters:
  • node (dict) – The node containing the list to run.

  • list_key (str) – The property of the node containing the list to run.

  • conf (dict) – The configuration to decide which models to run.

Returns:

List of errors from the models or True if no errors.

Return type:

list