

def __init__(self, model_class, field_dict=None, rows=None, fields=None, query=None, validate_fields=False):
    super(InsertQuery, self).__init__(model_class)
    self._upsert = False
    self._is_multi_row_insert = ((rows is not None) or (query is not None))
    self._return_id_list = False
    if (rows is not None):
        self._rows = rows
    else:
        self._rows = [(field_dict or {
            
        })]
    self._fields = fields
    self._query = query
    self._validate_fields = validate_fields
    self._on_conflict = None

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