def main (self, args, app):
    records = [ ]
    for item in self.dexcom.iter_records('INSERTION_TIME'):
      records.append(item.to_dict( ))
      # print len(records)
      if self.get_params(args)['count'] >= len(records):
        break
    return records
dataset/ETHPy150Open openaps/openaps/openaps/vendors/dexcom.py/iter_sensor_insertions.main/swapped operands of `>=`