validate
Validate converted Prefect flow against original Airflow DAG. Returns both sources, syntax check, and comparison guidance for structural review.
Instructions
Validate a converted Prefect flow against the original Airflow DAG.
Returns both source files for comparison plus a syntax check on the generated code. You perform the structural comparison.
Args: original_dag: Path or inline content of the original DAG. converted_flow: Path or inline content of the generated flow.
Returns: JSON with original_source, converted_source, syntax_valid, syntax_errors, and comparison_guidance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| original_dag | Yes | ||
| converted_flow | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |