|
17 | 17 | @click.option("--no-provenance", is_flag=True, help="Don't include provenance in .dvc files.") |
18 | 18 | @click.option("-p", "--push", type=click.Choice(["each", "end"]), default=None, help="Push strategy: 'each' (after each commit) or 'end' (once at finish). Also via $DVX_PUSH.") |
19 | 19 | @click.option("-P", "--no-cache-push", is_flag=True, help="With --push, only git-push; don't push cache blobs to the remote.") |
| 20 | +@click.option("-D", "--no-pull-deps", is_flag=True, help="Don't auto-fetch materializable trans-deps from remote (default: try fetch before rerunning).") |
20 | 21 | @click.option("-U", "--no-prune-fresh", is_flag=True, help="Walk full upstream chain even past fresh artifacts (default: stop at fresh).") |
21 | 22 | @click.option("-v", "--verbose", is_flag=True, help="Show detailed output.") |
22 | | -def run_cmd(targets, force, force_upstream, cached, jobs, commit, dry_run, no_provenance, push, no_cache_push, no_prune_fresh, verbose): |
| 23 | +def run_cmd(targets, force, force_upstream, cached, jobs, commit, dry_run, no_provenance, push, no_cache_push, no_pull_deps, no_prune_fresh, verbose): |
23 | 24 | """Execute artifact computations from .dvc files. |
24 | 25 |
|
25 | 26 | Run computations defined in .dvc files, respecting dependencies and |
@@ -63,6 +64,7 @@ def run_cmd(targets, force, force_upstream, cached, jobs, commit, dry_run, no_pr |
63 | 64 | push=push or "never", |
64 | 65 | cache_push=not no_cache_push, |
65 | 66 | prune_fresh=not no_prune_fresh, |
| 67 | + pull_deps=not no_pull_deps, |
66 | 68 | ) |
67 | 69 |
|
68 | 70 | try: |
|
0 commit comments