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)stale-salesmen-66018
02/02/2023, 12:32 PMFlowSpec class and supporting files, as well as a snapshot of the Metaflow library itself.
Currently MetaflowCode objects are stored only for `Run`s that have at least one Step executing outside the user's local environment."quick-holiday-75730
02/02/2023, 2:52 PMMetaflowCode objects are stored only for `Run`s that have at least one Step executing outside the user's local environment."
Hence, this does not work if I want to use MetaFlow locally. And it does not work if I want to use it with AWS only using the metadata service.dry-beach-38304
02/02/2023, 3:25 PM