

def _clone_attributes(self, query):
    query = super(_WriteQuery, self)._clone_attributes(self)
    if self._returning:
        query._returning = list(self._returning)
        query._tuples = self._tuples
        query._dicts = self._dicts
    return query

dataset/ETHPy150Open coleifer/peewee/peewee.py _WriteQuery._clone_attributes/VarMisuse@23/30 `query`->`self`