mirror of
https://gitee.com/dify_ai/dify.git
synced 2024-12-05 04:38:37 +08:00
13 lines
297 B
Python
13 lines
297 B
Python
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')
|