Skip to content

Commit

Permalink
allow Chip or XY as key
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Mar 5, 2024
1 parent d937fd9 commit a5dd539
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spinn_machine/machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
from .chip import Chip

logger = logging.getLogger(__name__)
_SpinLinkKey: TypeAlias = Tuple[Union[str, XY], int]
_FpgaLinkKey: TypeAlias = Tuple[Union[str, XY], int, int]
_SpinLinkKey: TypeAlias = Tuple[Union[str, XY, "Chip"], int]
_FpgaLinkKey: TypeAlias = Tuple[Union[str, XY, "Chip"], int, int]


class Machine(object, metaclass=AbstractBase):
Expand Down

0 comments on commit a5dd539

Please sign in to comment.