code: def clear_all(self, split):
          
          logger.info("Clearing ALL Candidates.")
          self.session.query(Candidate).filter(Candidate.split == split).delete(
              synchronize_session="fetch"
          )
docs: Delete ALL Candidates from given split the database.
  
          :param split: Which split to clear.
          :type split: int