quick-holiday-75730
02/02/2023, 10:34 AMpython 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
)