

@returns_clone
def switch(self, model_class=None):
    'Change or reset the query context.'
    self._query_ctx = (model_class or self.model_class)

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