resume_run
Resume a failed Metaflow run by reusing successful step results and re-executing from the point of failure.
Instructions
Resume a failed Metaflow run from the point of failure.
Starts a new run that reuses results from successful steps of the original run and re-executes from the failed step onward.
Returns once the new run ID is assigned. The resumed flow continues running as a subprocess. Use get_run to monitor progress.
Requires the flow source file on the local filesystem.
Args: flow_file: Path to the flow Python file. origin_run_id: Run ID to resume from (e.g. "1715234567890"). Use get_run or get_latest_failure to find this.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow_file | Yes | ||
| origin_run_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |