diff --git a/dvc/api.py b/dvc/api.py index 7b4f144e6..492373f95 100644 --- a/dvc/api.py +++ b/dvc/api.py @@ -89,8 +89,7 @@ def summon(name, params=None, repo=None, rev=None): artifact = next(x for x in artifacts if x.get("name") == name) outs = [ - _repo.find_out_by_relpath(dep) - for dep in artifact.get("deps", ()) + _repo.find_out_by_relpath(dep) for dep in artifact.get("deps", ()) ] with _repo.state: