Exemple #1
0
    def get(self):

        cliams = get_jwt_claims()
        return cliams
        return userListSchema.dump(UserModel.fetchAll())
Exemple #2
0
    def get(cls):

        user = UserModel.fetchAll()
        alluser = UserSchema(many=True).dump(user)
        return {'data': alluser[0]}