Hey Metaflow community! I have a problem. 1. I st...
# ask-metaflow
m
Hey Metaflow community! I have a problem. 1. I start running a flow that is 1-2 hours to run. 2. I change branches to make some improvements to a function that is called within a node. 3. If the flow calls a node that has a function I am modifying, it picks up my latest save which was made mid-run and executes. How would I make a technical change to my functions that are called within the nodes while my flow is running?
1
v
hey Brandon 👋 Metaflow doesn't isolate local runs yet, so indeed it works as you described for local runs, which is not optimal. If you run remotely with e.g.
--with kuberentes
or
--with batch
, the code is snapshot so you wouldn't experience that
a
it is on our roadmap to package code for executions and make sure that the local execution runs against a local copy of the code
v
as a workaround, you can simply execute and edit the code in separate directories
1
m
Wow. Thanks so much for the speedy reply @square-wire-39606 and @straight-shampoo-11124 . Will use the work around mentioned (had this in mind but wanted to confirm this issue was known first). Take care! :)
👍 1