def _notify_releasewatchers(project, release, signal):
    context = {'project': project,
               'release': release,
    }
    logger.debug("addon-watches: Sending notification for '%s'" % release)
    if signal == "project_release_added":
        observed_instance = project
    else:
        observed_instance = release
    txnotification.send_observation_notices_for(observed_instance,
            signal=signal, extra_context=context)
Notify watchers of a release add/change
dataset/ETHPy150Open rvanlaar/easy-transifex/src/transifex/transifex/addons/watches/handlers.py/_notify_releasewatchers