from flask import Blueprint
from flask_restful import Api
# from restful import Api

from resources.Hello import CategoryResource

api_bp = Blueprint('api', __name__)
api = Api(api_bp)

# Route
api.add_resource(CategoryResource, '/Hello')
[((7, 9, 7, 35), 'flask.Blueprint', 'Blueprint', ({(7, 19, 7, 24): '"""api"""', (7, 26, 7, 34): '__name__'}, {}), "('api', __name__)", False, 'from flask import Blueprint\n'), ((8, 6, 8, 17), 'flask_restful.Api', 'Api', ({(8, 10, 8, 16): 'api_bp'}, {}), '(api_bp)', False, 'from flask_restful import Api\n')]