def myfoo(i,s, course=['s'],gg=2,fdf=3,**d):
    """
    return course id
    Keyword arguments,
    course, -- course object (default None)
    """
    print ('data:',d)
    if course:
        print (course)
        return course.get('id')
    else:
        print("No Course!")
        return None