

def _clone_attributes(self, query):
    query = super(InsertQuery, self)._clone_attributes(query)
    query._rows = self._rows
    query._upsert = self._upsert
    query._is_multi_row_insert = self._is_multi_row_insert
    query._fields = self._fields
    query._query = self._query
    query._return_id_list = self._return_id_list
    query._validate_fields = self._validate_fields
    query._on_conflict = self._on_conflict
    return query

dataset/ETHPy150Open coleifer/peewee/peewee.py InsertQuery._clone_attributes/original