hestia_earth.validation.validators.cycle.validate_cycle¶
-
hestia_earth.validation.validators.cycle.validate_cycle(cycle, node_map={})[source]¶ Validates a single Cycle.
- Parameters:
cycle (dict) – The Cycle to validate.
node_map (dict) – The list of all nodes to do cross-validation, grouped by type and id.
- Returns:
The list of errors for the Cycle, which can be empty if no errors detected.
- Return type:
List