Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleExpand for notes on certificat and grade events...

Rough Notes on Grades Event POC

[From meeting with Kelly/Justin]


[From Matt Tuchfarber] Our top two use cases for message bus are:

  • Syncing catalog data from Discovery to Credentials, and

  • Syncing course certificate and grade data from LMS to Credentials

  • Additional Notes:

    • edx-platform sends three signals in this code:

      • Code Block
        COURSE_GRADE_CHANGED.send_robust(
            sender=None,
            user=user,
            course_grade=course_grade,
            course_key=course_data.course_key,
            deadline=course_data.course.end,
        )
        if course_grade.passed:
            COURSE_GRADE_NOW_PASSED.send(
                sender=CourseGradeFactory,
                user=user,
                course_id=course_data.course_key,
            )
        else:
            COURSE_GRADE_NOW_FAILED.send(
                sender=CourseGradeFactory,
                user=user,
                course_id=course_data.course_key,
                grade=course_grade,
            )