'Create a new list'

@api.validate(new_list_schema)
@api.response(201, model=list_object_schema)
@api.response(Conflict)
def post(self, session=None):

    data = request.json
    name = data.get(u'name')
    try:
        movie_list = ml.get_list_by_exact_name(name=name, session=session)
    except NoResultFound:
        movie_list = None
    if movie_list:
        raise Conflict((u"list    with    name    '%s'    already    exists" % name))
    movie_list = ml.MovieListList(name=name)
    session.add(movie_list)
    session.commit()
    resp = jsonify(movie_list.to_dict())
    resp.status_code = 201
    return resp
