def get(self): cliams = get_jwt_claims() return cliams return userListSchema.dump(UserModel.fetchAll())
def get(cls): user = UserModel.fetchAll() alluser = UserSchema(many=True).dump(user) return {'data': alluser[0]}