You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

feature.py 319B

1234567891011121314
  1. from flask_login import current_user
  2. from flask_restful import Resource
  3. from services.feature_service import FeatureService
  4. from . import api
  5. class FeatureApi(Resource):
  6. def get(self):
  7. return FeatureService.get_features(current_user.current_tenant_id).dict()
  8. api.add_resource(FeatureApi, '/features')