def _publish_annotation_event(request, annotation, action):
    event = AnnotationEvent(request, annotation, action)
    request.registry.notify(event)
Publish an event to the annotations queue for this annotation action
dataset/ETHPy150Open hypothesis/h/h/api/views.py/_publish_annotation_event