code: def set_host_finished(self, scan_id, target, host):
          
          finished_hosts = self.scans_table[scan_id]['finished_hosts']
          finished_hosts[target].extend(host)
          self.scans_table[scan_id]['finished_hosts'] = finished_hosts
docs: Add the host in a list of finished hosts