Skip to content

Commit

Permalink
scm: fetch_all_exps pass kwargs to scm.fetch_refspecs (#9214)
Browse files Browse the repository at this point in the history
  • Loading branch information
skshetry authored Mar 20, 2023
1 parent 8399bf6 commit 66406e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dvc/repo/experiments/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def check_ref_format(scm: "Git", ref: ExpRefInfo):
)


def fetch_all_exps(scm: "Git", url: str, progress: Optional[Callable] = None):
def fetch_all_exps(scm: "Git", url: str, progress: Optional[Callable] = None, **kwargs):
refspecs = [
f"{ref}:{ref}"
for ref in iter_remote_refs(scm, url, base=EXPS_NAMESPACE)
Expand All @@ -296,6 +296,7 @@ def fetch_all_exps(scm: "Git", url: str, progress: Optional[Callable] = None):
url,
refspecs,
progress=progress,
**kwargs,
)


Expand Down

0 comments on commit 66406e6

Please sign in to comment.