added __iter__ and __len__ to ScanObject base class

Signed-off-by: Leon Riesebos <leon.riesebos@duke.edu>
pull/1670/head
Leon Riesebos 2021-04-20 17:40:12 -04:00 committed by Sébastien Bourdeauducq
parent 2671c271d4
commit a0cea3a011
1 changed files with 6 additions and 0 deletions

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