human
I wrote the below code

    course_id = unicode(course.id)
    attrs = ['edx_video_id', 'client_video_id', 'created', 'duration', 'status', 'courses']
    def _get_values(video):
        '\n                                Get    data    for    predefined    video    attributes.\n                                '
        values = {}
        for attr in attrs:
            if (attr == 'courses'):
                course = filter((lambda c: (course_id in c)), video['courses'])
                ((__, values['course_video_image_url']),) = course[0].items()
            else:
                values[attr] = video[attr]
        return values
    return [_get_values(video) for video in _get_videos(course)]

What's a good function header?
 Here's a good function header?
assistant
#Here's a good function header.

def _get_index_videos(course):