From 2b818e203f8deb5ca7b2684b836df0ff3f748088 Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Date: Fri, 17 Jan 2020 17:40:02 -0600 Subject: [PATCH] api: note get_url doesn't chekc file existence per https://github.com/iterative/dvc/pull/3130#discussion_r367359439 --- dvc/api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dvc/api.py b/dvc/api.py index bac8c99da..5c3401bbe 100644 --- a/dvc/api.py +++ b/dvc/api.py @@ -58,6 +58,7 @@ def get_url(path, repo=None, rev=None, remote=None): """ Returns the full URL to the data artifact specified by its `path` in a `repo`. + NOTE: There is no guarantee that the file actually exists in that location. """ try: with _make_repo(repo, rev=rev) as _repo: