def __iter__(self):
    for net in self.networks:
      if self.stats:
        self.curstats = self.stats.get(net.uuid, None)
      else:
        self.curstats = None
      yield net
Constructor
dataset/ETHPy150Open ganeti/ganeti/lib/query.py/NetworkQueryData.__iter__--crossover with--dataset/ETHPy150Open sahana/eden/modules/s3log.py/S3Log.__init__