iterative/dvc

View on GitHub
dvc/repo/push.py

Summary

Maintainability
A
1 hr
Test Coverage
from . import locked


@locked
def push(
    self,
    targets=None,
    jobs=None,
    remote=None,
    all_branches=False,
    with_deps=False,
    all_tags=False,
    recursive=False,
):
    used = self.used_cache(
        targets,
        all_branches=all_branches,
        all_tags=all_tags,
        with_deps=with_deps,
        force=True,
        remote=remote,
        jobs=jobs,
        recursive=recursive,
    )
    return self.cloud.push(used, jobs, remote=remote)