Hi all, I have a question for MetaFlow in the cont...
# ask-metaflow
q
Hi all, I have a question for MetaFlow in the context of experiment tracking (just using the metadata service, without compute and without step functions) if I run
python my_flow.py run
, will the file
my_flow.py
from that run be stored anywhere in the artifacts of that run? Sometimes people do a run without git-committing their code of that run (i.e.
my_flow.py
). Later on, when retrieving the artifacts from a particular run, it would be great if I could retrieve the code that produced the artifacts as well. Otherwise, the alternative solution I would have in mind is to commit the code of every run that is worth reproducing and add the corresponding run-id (e.g.
MyFlow/1675261665594517
) to the git-commit-message. This way the person that wants to reproduce everything will be able to access the code that produced the artifacts from this particular run id. (In this question, I only mention the python file that contains the flow i.e.
my_flow.py
but similarly, it would, of course, be good to retrieve the code from custom python modules that are used by this python file e.g.
utils.py
)
1