def _get_videos(course):
 videos = list(get_videos_for_course(course.id, VideoSortField.created, SortDirection.desc))
 for video in videos:
  video['status'] = convert_video_status(video)
 return videos

def _get_videos ( course ) : videos = list ( get_videos_for_course ( course . id , VideoSortField . created , SortDirection . desc ) ) for video in videos : video [ 'status' ] = convert_video_status ( video ) return videos
retrieves the list of videos from val corresponding to this course .