From 78c1a0b6373650b8c567bbfa48b2f46c05056109 Mon Sep 17 00:00:00 2001 From: michaelroytman Date: Mon, 2 Oct 2023 14:34:36 -0400 Subject: [PATCH] feat: incorporate changes in 8.7.0 and add signal hander --- edx_exams/apps/core/signals/handlers.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/edx_exams/apps/core/signals/handlers.py b/edx_exams/apps/core/signals/handlers.py index 8e4fdf35..a540f21f 100644 --- a/edx_exams/apps/core/signals/handlers.py +++ b/edx_exams/apps/core/signals/handlers.py @@ -2,12 +2,21 @@ Signal handlers for the edx-exams application. """ from django.dispatch import receiver +<<<<<<< HEAD from openedx_events.event_bus import get_producer from openedx_events.learning.signals import EXAM_ATTEMPT_SUBMITTED @receiver(EXAM_ATTEMPT_SUBMITTED) def listen_for_exam_attempt_submitted(sender, signal, **kwargs): # pylint: disable=unused-argument +======= + +from openedx_events.event_bus import get_producer +from openedx_events.learning.signals import EXAM_ATTEMPT_SUBMITTED + +@receiver(EXAM_ATTEMPT_SUBMITTED) +def listen_for_exam_attempt_submitted(sender, signal, **kwargs): +>>>>>>> d324b9d (feat: incorporate changes in 8.7.0 and add signal hander) """ Publish EXAM_ATTEMPT_SUBMITTED signals onto the event bus. """