

def delete_row(self, user, external_id):
    '\n        Delete a row in this dataset.\n        '
    self.lock()
    try:
        solr.delete(settings.SOLR_DATA_CORE, ('dataset_slug:%s AND external_id:%s' % (self.slug, external_id)), commit=True)
        self.row_count = self._count_rows()
        self.last_modified = now()
        self.last_modified_by = self
        self.last_modification = _('1 row deleted')
        self.save()
    finally:
        self.unlock()

dataset/ETHPy150Open pandaproject/panda/panda/models/dataset.py Dataset.delete_row/VarMisuse@73/122 `user`->`self`