See and apply diffs between the current working directory and a Metaflow run
Project description
metaflow-diff - run git diff between a repo and a Metaflow run
- Create a Metaflow flow, say,
HelloFlow, in a git repo as usual - Run it remotely:
python hello.py run --with kubernetesorpython hello.py run --with batch - Note the run ID in the console or in the UI, e.g.
HelloFlow/5. - Continue editing code
- Run
metaflow-diff diff HelloFlow/5to see how the code has changed in the given execution 💡
[!NOTE]
metaflow-diffdisplays differences only for files associated with the specified run. Any new files added to the current working directory that are not part of the run will be excluded from the output.
Commands
metaflow-diff diff HelloFlow/5
Show diff between the current working directory and the given run.
metaflow-diff pull --dir code HelloFlow/5
Pull the code of the given run to a directory.
metaflow-diff patch --file my.patch HelloFlow/5
Produce a patch file that, if applied, changes the code in the current working directory to match that of the run.
metaflow-diff diff-runs HelloFlow/5 HelloFlow/6
Show diff between the two given runs.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file metaflow_diff-0.1.6-py3-none-any.whl.
File metadata
- Download URL: metaflow_diff-0.1.6-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c343d82c4370c12ae45dc0dba9592433643328a9d4b99dc883836b29c61f912
|
|
| MD5 |
8a8a70d68a5fd5f55e05b30ba55e6be3
|
|
| BLAKE2b-256 |
9b7c76ee10adeda5db5c551a1eb60ecc81da80cfb24a112e0f8d19a5c0e49cea
|