Skip to content

Commit 0fc762c

Browse files
replaced fetch_task with get_task (#30)
1 parent dc55cd3 commit 0fc762c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scaleapi/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def as_dict(self):
8181

8282
def refresh(self):
8383
"""Refreshes the task details."""
84-
self._json = self._client.fetch_task(self.id).as_dict()
84+
self._json = self._client.get_task(self.id).as_dict()
8585

8686
def cancel(self):
8787
"""Cancels the task"""

0 commit comments

Comments
 (0)