def __iter__(self):
        for e in self.entries:
            # print("Entry: {}".format(e))
            yield e
Custom iterator to use entries instead of the object itself
dataset/ETHPy150Open jpsenior/threataggregator/threataggregator.py/RepDB.__iter__