'Public method to generate a grade report.'

@classmethod
def generate(cls, _xmodule_instance_args, _entry_id, course_id, _task_input, action_name):

    with modulestore().bulk_operations(course_id):
        context = _CourseGradeReportContext(_xmodule_instance_args, _entry_id, course_id, _task_input, action_name)
        return CourseGradeReport()._generate(context)
