'Return the set of partitions assigned to self._course_id (both those set directly on the course
through course.user_partitions, and any dynamic partitions that exist). Note: this returns
both active and inactive partitions.'

@property
def course_partitions(self):

    return get_all_partitions_for_course(self.get_course())
