def clear(self, session, split, **kwargs):
    session.query(Candidate).filter((Candidate.split == split)).delete()
def clear(self, session, split, **kwargs):
    session.query(Candidate).filter((Candidate.split == split)).delete()