def delete(cls, id, store): ImageRemoveEvent.emit(cls.get(id, store)) super(Image, cls).delete(id, store)
def delete(cls, id, store): image = store.get(cls, id) ImageRemoveEvent.emit(image) store.remove(image)