Session().delete(Employee, id=1, name='John Doe')

def delete(self, model_class, **where):
        '''
        Session().delete(Employee, id=1, name='John Doe')
        '''
        assert hasattr(model_class, '_fields'), 'Not a valid class'
        table = model_class.__name__.lower()

        with Session() as conn:
            SQL = f'DELETE FROM {table} WHERE'
            if not where:
                raise ValueError('Specify WHERE conditions as kwargs')

            i = 1
            for k, v in where.items():
                SQL+= " %s = '%s' "%(k,v) if i ==1 else "AND %s = '%s' "%(k,v)
                i +=1

            c= conn.cursor()
            c.execute(SQL)
            conn.commit()