def update_annotation(request, id, data):
    annotation = models.elastic.Annotation.fetch(id)
    annotation.update(data)

    # FIXME: this should happen when indexing, not storing.
    _prepare(request, annotation)

    annotation.save()
    return annotation
Shows/Hides the panel
dataset/ETHPy150Open hypothesis/h/h/api/storage.py/update_annotation--crossover with--dataset/ETHPy150Open OpenCobolIDE/OpenCobolIDE/open_cobol_ide/extlibs/pyqode/core/api/panel.py/Panel.setVisible