added __iter__ and __len__ to ScanObject base class

Signed-off-by: Leon Riesebos <leon.riesebos@duke.edu>
This commit is contained in:
Leon Riesebos 2021-04-20 17:40:12 -04:00 committed by Sébastien Bourdeauducq
parent 2671c271d4
commit a0cea3a011

View File

@ -32,6 +32,12 @@ __all__ = ["ScanObject",
class ScanObject:
def __iter__(self):
raise NotImplementedError
def __len__(self):
raise NotImplementedError
def describe(self):
raise NotImplementedError