def __iter__(self):
        # Reset the iteration counter
        self.iteration_counter = 0

        return self
Part of the iterator protocol, returns iterator object.
dataset/ETHPy150Open JohnMaguire/Cardinal/cardinal/plugins.py/PluginManager.__iter__