forked from M-Labs/artiq
1
0
Fork 0

added abstract describe method to ScanObject

Signed-off-by: Leon Riesebos <leon.riesebos@duke.edu>
This commit is contained in:
Leon Riesebos 2021-02-27 14:42:13 -05:00 committed by Sébastien Bourdeauducq
parent e577542f6b
commit cd7f9531d7
1 changed files with 2 additions and 1 deletions

View File

@ -32,7 +32,8 @@ __all__ = ["ScanObject",
class ScanObject: class ScanObject:
pass def describe(self):
raise NotImplementedError
class NoScan(ScanObject): class NoScan(ScanObject):