This doesn't match the very first line of the function (`assert(isinstance(course_id, CourseKey))`) -- fix either docstring or code, dunno which.