File size: 297 Bytes
a8b3f00
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
from flask_restful import Resource

from controllers.web import api
from services.feature_service import FeatureService


class SystemFeatureApi(Resource):
    def get(self):
        return FeatureService.get_system_features().model_dump()


api.add_resource(SystemFeatureApi, "/system-features")