Skip to content

Commit

Permalink
Remove reassignment of run function in public api (#4115)
Browse files Browse the repository at this point in the history
Co-authored-by: Dmitry Duev <dmitryduev@users.noreply.github.com>
  • Loading branch information
Martin Abeleda and dmitryduev committed Sep 6, 2022
1 parent 3cbd70b commit b9683f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wandb/apis/public.py
Expand Up @@ -839,9 +839,9 @@ def run(self, path=""):
Returns:
A `Run` object.
"""
entity, project, run = self._parse_path(path)
entity, project, run_id = self._parse_path(path)
if not self._runs.get(path):
self._runs[path] = Run(self.client, entity, project, run)
self._runs[path] = Run(self.client, entity, project, run_id)
return self._runs[path]

def queued_run(
Expand Down

0 comments on commit b9683f4

Please sign in to comment.