def clearSummarization(self, campaign): MongoManager.remove('summarized_tweets_%s' % campaign.getId())
def clearAllSummarizedData(self, campaign_id): #esto esta repetido! collection_name = 'summarized_tweets_%s' % campaign_id #print 41, datetime.now() res = MongoManager.remove(collection_name, filters={})