

def flush_service_checks(self):
    service_checks = self.service_checks
    self.service_checks = []
    self.total_count += self.service_check_count
    self.service_check_count = 0
    log.debug('Received {0} service check runs since last flush'.format(len(service_checks)))
    return self

dataset/ETHPy150Open serverdensity/sd-agent/aggregator.py Aggregator.flush_service_checks/VarMisuse@53/87 `service_checks`->`self`