Skip to content

Commit 5184f5b

Browse files
committed
refactor: move utility functions for student batch enrollment
1 parent c081d79 commit 5184f5b

4 files changed

Lines changed: 2 additions & 5 deletions

File tree

File renamed without changes.

lms/djangoapps/instructor/utils/__init__.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

lms/djangoapps/instructor/views/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
send_beta_role_email,
8484
send_mail_to_student,
8585
)
86-
from lms.djangoapps.instructor.utils.enrollment_utils import process_student_enrollment_batch
86+
from lms.djangoapps.instructor.utils import process_student_enrollment_batch
8787
from lms.djangoapps.instructor.views.instructor_task_helpers import extract_email_features, extract_task_features
8888
from lms.djangoapps.instructor_analytics import basic as instructor_analytics_basic, csvs as instructor_analytics_csvs
8989
from lms.djangoapps.instructor_task import api as task_api

lms/djangoapps/instructor_task/tasks_helper/enrollments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
)
2828

2929
from common.djangoapps.student.models import CourseEnrollment # lint-amnesty, pylint: disable=unused-import
30-
from lms.djangoapps.instructor.utils.enrollment_utils import process_student_enrollment_batch as process_batch
3130
from lms.djangoapps.instructor_analytics.csvs import format_dictlist
3231
from lms.djangoapps.instructor_task.models import InstructorTask
3332
from lms.djangoapps.instructor.message_types import BatchEnrollment
33+
from lms.djangoapps.instructor.utils import process_student_enrollment_batch as process_batch
3434

3535
from .runner import TaskProgress
3636
from .utils import upload_csv_to_report_store # lint-amnesty, pylint: disable=unused-import

0 commit comments

Comments
 (0)