From 9a3849efafd99f452b61a84f0b42f7b787ba1e7c Mon Sep 17 00:00:00 2001 From: Andrew Rowley Date: Mon, 25 Sep 2023 10:49:21 +0100 Subject: [PATCH] Fix abstract --- spinnman/spalloc/abstract_spalloc_client.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/spinnman/spalloc/abstract_spalloc_client.py b/spinnman/spalloc/abstract_spalloc_client.py index 76652c6e9..60ac8d7ce 100644 --- a/spinnman/spalloc/abstract_spalloc_client.py +++ b/spinnman/spalloc/abstract_spalloc_client.py @@ -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 @@ -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 """