Beispiel #1
0
 def flush(self):
     """Delete all run-time data generated by this crawler."""
     Queue.flush(self)
     Tag.delete(self)
     Event.delete(self)
     CrawlerState.flush(self)
     CrawlerRun.flush(self)
Beispiel #2
0
 def flush(self):
     """Delete all run-time data generated by this crawler."""
     Tag.delete(self.name)
     Event.delete(self.name)
     Result.delete(self.name)
     session.commit()
     signals.crawler_flush.send(self)
Beispiel #3
0
 def flush(self):
     """Delete all run-time data generated by this crawler."""
     Tag.delete(self.name)
     Operation.delete(self.name)
     session.commit()