Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
Fix: client.get_subtask (#4893)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranciszkiewicz authored Nov 15, 2019
1 parent 9b7f585 commit 243e403
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions golem/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -958,8 +958,11 @@ def get_subtasks(self, task_id: str) \
return None

@rpc_utils.expose('comp.task.subtask')
def get_subtask(self, subtask_id: str, task_id: Optional[str]) \
-> Tuple[Optional[Dict], Optional[str]]:
def get_subtask(
self,
subtask_id: str,
task_id: Optional[str] = None,
) -> Tuple[Optional[Dict], Optional[str]]:
try:
assert isinstance(self.task_server, TaskServer)
tm = self.task_server.task_manager
Expand Down

0 comments on commit 243e403

Please sign in to comment.