def delete(self, item_id):
        auth, retval = __check_auth__(self.auth_dict)
        if auth:
            return retval

        NetworkWhitelistEntry.query.filter(NetworkWhitelistEntry.id == item_id).delete()
        db.session.commit()

        return {'status': 'deleted'}, 202
Initialize a QImageView.
dataset/ETHPy150Open Netflix/security_monkey/security_monkey/views/whitelist.py/WhitelistGetPutDelete.delete--crossover with--dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/qt_image_view.py/QImageView.__init__