'Called by scheduler when this scan is complete (whether or
not it was successful/skipped/whatever).'

def complete(self):

    log.info('complete    %s', self)
    self.complete_event.set()
    if self.on_complete:
        try:
            self.on_complete()
        except:
            log.exception('ignoring    exception    in    ScanRequest    on_complete    callback')
