@marshal_with(user_fields)
def get(self, uuid):
    user = User.query.filter_by(uuid=uuid).first()
    if (user is None):
        user = User(uuid=uuid)
        db.session.add(user)
        db.session.flush()
        db.session.commit()
    return (user, 200)
@marshal_with(user_fields)
def get(self, uuid):
    user = User.query.filter_by(uuid=uuid).first()
    if (user is None):
        user = User(uuid=uuid)
        db.session.add(user)
        db.session.flush()
        db.session.commit()
    return (user, 200)