Skip to content

Commit

Permalink
Fix abstract
Browse files Browse the repository at this point in the history
  • Loading branch information
rowleya committed Sep 25, 2023
1 parent 9448b0b commit 9a3849e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spinnman/spalloc/abstract_spalloc_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ def create_job_board(
def create_job_rect_at_board(
self, width: int, height: int, triad: Tuple[int, int, int] = None,
physical: Tuple[int, int, int] = None, ip_address: str = None,
machine_name: str = None, keepalive: int = 45) -> SpallocJob:
machine_name: str = None, keepalive: int = 45,
max_dead_boards: int = 0) -> SpallocJob:
"""
Create a job with a rectangle of boards starting at a specific board.
At least one of ``triad``, ``physical`` and ``ip_address`` must be not
Expand All @@ -145,6 +146,8 @@ def create_job_rect_at_board(
:param int keepalive:
After how many seconds of no activity should a job become eligible
for automatic pruning?
:param int max_dead_boards:
How many dead boards can be included.
:return: A handle for monitoring and interacting with the job.
:rtype: SpallocJob
"""

0 comments on commit 9a3849e

Please sign in to comment.