@api.doc('get a user')
@api.marshal_with(_user)
def get(self, public_id):
    'get a user given its identifier'
    user_service = UserService()
    user_service.load_user(public_id)
    if user_service.is_nan_user():
        api.abort(404)
    else:
        return user_service.get_user_public()
get a user given its identifier
@api.doc('get a user')
@api.marshal_with(_user)
def get(self, public_id):
    
    user_service = UserService()
    user_service.load_user(public_id)
    if user_service.is_nan_user():
        api.abort(404)
    else:
        return user_service.get_user_public()