cursus.cli.validate_cli

CLI commands for local pipeline-script testing + step-interface validation.

cursus validate run-scripts executes a DAG’s pipeline scripts locally, in dependency order, with data-flow simulation between steps — a fast pre-deployment check that the scripts actually run and hand data to each other. Wraps validation.script_testing.api.run_dag_scripts. Engine imports are lazy.

cursus validate step-interface validates a .step.yaml at AUTHOR time (FZ 31e1d3f2): it loads the interface through the production StepInterface.from_yaml path (surfacing Pydantic + intra-step alignment errors) and runs incompleteness checks (compute descriptor coherence, compatible_sources case-typos) — so an editor catches mistakes before a build/load trips them.

Examples

cursus validate run-scripts dag.json -c config.json cursus validate step-interface XGBoostTraining cursus validate step-interface RiskTableMapping –job-type validation cursus validate step-interface –all # validate every .step.yaml (CI)

main()[source]

Main entry point for the validate CLI.