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)
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)
def flush(self): """Delete all run-time data generated by this crawler.""" Tag.delete(self.name) Operation.delete(self.name) session.commit()