

def __init__(self, model_class):
    super(Query, self).__init__()
    self.model_class = model_class
    self.database = model_class._meta.database
    self._dirty = True
    self._query_ctx = model_class
    self._joins = {
        self.model_class: [],
    }
    self._where = None

dataset/ETHPy150Open coleifer/peewee/peewee.py Query.__init__/original