What is the current best practice for reexecuting ...
# ask-community
p
What is the current best practice for reexecuting a pipeline? I want to restart my pipeline from a specific step that failed. I can find a description on Stack Overflow here , but I cannot import
reexecute_pipeline
from dagster 1.0.15, which makes me think there is now another way?
y
https://docs.dagster.io/_apidocs/execution#dagster.execute_job
Copy code
from dagster import ReexecutionOptions, execute_job

instance = DagsterInstance.get()

options = ReexecutionOptions.from_failure(run_id=failed_run_id, instance)
execute_job(reconstructable(job), instance, reexecution_options=options)
🙏 1