Skip to content

Commit

Permalink
typing
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Dec 19, 2023
1 parent edb7332 commit 9f17703
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spinnman/spalloc/spalloc_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
from typing import (
Any, ContextManager,
Callable, Dict, FrozenSet, Iterable, Iterator, List, Mapping,
Optional, Tuple, cast)
Optional, Tuple, Union, cast)
from typing_extensions import TypeAlias
from websocket import WebSocket # type: ignore
from spinn_utilities.abstract_base import AbstractBase, abstractmethod
Expand Down Expand Up @@ -242,6 +242,7 @@ def create_job_rect_at_board(
ip_address: Optional[str] = None,
machine_name: Optional[str] = None, keepalive: int = 45,
max_dead_boards: int = 0) -> SpallocJob:
board: JsonObject
if triad:
x, y, z = triad
board = {"x": int(x), "y": int(y), "z": int(z)}
Expand Down

0 comments on commit 9f17703

Please sign in to comment.