Quick question. Is it possible to re-run an old ru...
# ask-metaflow
t
Quick question. Is it possible to re-run an old run which the exact code that was used. So basically resuming without updating the code package?
1
j
If the code is not dependent on external sources like files on s3, then yes, you can do
python flow.py resume start --origin-run-id YOUR_ID
t
Are you sure? I am pretty sure this would use the current version of the code. Eg. if I insert a print statement in the start step, it will print this.
a
@thankful-father-61351 you can get the code for the old run using the ‘run.code’ object and run resume on top of it
🙌 1
t
Thanks 🙏