Skip to content

Commit

Permalink
raise NotImplementedError("This method is abstract")
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Oct 17, 2023
1 parent db9cb87 commit a5f0928
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spinnman/transceiver/extendable_transceiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def bmp_connection(self) -> BMPConnection:
Returns the BMP connection if there is one
:rtype: BMPConnection or None
"""
raise NotImplementedError("This method is abstract")

@abstractproperty
def bmp_selector(self) -> Optional[FixedConnectionSelector[BMPConnection]]:
Expand All @@ -63,6 +64,7 @@ def bmp_selector(self) -> Optional[FixedConnectionSelector[BMPConnection]]:
:rtype: AbstractMultiConnectionProcessConnectionSelector
"""
raise NotImplementedError("This method is abstract")

@abstractproperty
def scamp_connection_selector(self) -> ConnectionSelector:
Expand All @@ -71,3 +73,4 @@ def scamp_connection_selector(self) -> ConnectionSelector:
:rtype: AbstractMultiConnectionProcessConnectionSelector
"""
raise NotImplementedError("This method is abstract")

0 comments on commit a5f0928

Please sign in to comment.