def __init__(self, klass, *args, **kwargs):
        self.base_statement = 'delete from %s;'
        self.c = None
        if args != ((),) or kwargs:
            self.base_statement = 'delete from %s where %s;'
            self.c = ['%s = "%s"' % (k, str(v)) for k, v in kwargs.items()]
            if args != ((),):
                self.c.extend(list(*args))
        self.klass = klass
dataset/ETHPy150Open jasonlvhit/lunar/lunar/database.py/DeleteQuery.__init__/original