'Saves the subsection grade in a persisted model.'

@classmethod
def bulk_create_models(cls, student, subsection_grades, course_key):

    subsection_grades = filter((lambda subs_grade: subs_grade._should_persist_per_attempted), subsection_grades)
    return PersistentSubsectionGrade.bulk_create_grades([subsection_grade._persisted_model_params(student) for subsection_grade in subsection_grades], course_key)
