Skip to content

Commit

Permalink
add return type annotations
Browse files Browse the repository at this point in the history
Co-authored-by: Tian Xia <cblmemo@gmail.com>
  • Loading branch information
andylizf and cblmemo authored Nov 3, 2024
1 parent 9e0892d commit 4ef56e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sky/jobs/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ def _run_one_task(self, task_id: int, task: 'sky.Task') -> bool:
recovered_time=recovered_time,
callback_func=callback_func)

def _try_add_successors_to_queue(self, task_id: int):
def _try_add_successors_to_queue(self, task_id: int) -> None:
"""Tasks with multiple predecessors will only be queued once, as
`_handle_future_completion` runs sequentially in the main thread via
`futures.wait()`.
Expand Down

0 comments on commit 4ef56e1

Please sign in to comment.