File tree Expand file tree Collapse file tree
lms/djangoapps/instructor Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11"""
22Constants used by Instructor.
33"""
4+ from enum import StrEnum
45
56# this is the UserPreference key for the user's recipient invoice copy
67INVOICE_KEY = 'pref-invoice-copy'
78
89# external plugins (if any) will use this constant to return context to instructor dashboard
910INSTRUCTOR_DASHBOARD_PLUGIN_VIEW_NAME = 'instructor_dashboard'
11+
12+
13+ class ReportType (StrEnum ):
14+ """
15+ Enum for report types used in the instructor dashboard downloads API.
16+ These are the user-facing report type identifiers.
17+ """
18+ ENROLLED_STUDENTS = "enrolled_students"
19+ PENDING_ENROLLMENTS = "pending_enrollments"
20+ PENDING_ACTIVATIONS = "pending_activations"
21+ ANONYMIZED_STUDENT_IDS = "anonymized_student_ids"
22+ GRADE = "grade"
23+ PROBLEM_GRADE = "problem_grade"
24+ PROBLEM_RESPONSES = "problem_responses"
25+ ORA2_SUMMARY = "ora2_summary"
26+ ORA2_DATA = "ora2_data"
27+ ORA2_SUBMISSION_FILES = "ora2_submission_files"
28+ ISSUED_CERTIFICATES = "issued_certificates"
29+ UNKNOWN = "unknown"
You can’t perform that action at this time.
0 commit comments