

def _clone_attributes(self, query):
    if (self._where is not None):
        self._where = self._where.clone()
    query._joins = self._clone_joins()
    query._query_ctx = self._query_ctx
    return query

dataset/ETHPy150Open coleifer/peewee/peewee.py Query._clone_attributes/VarMisuse@24/29 `query`->`self`