from flask import Flask, abort, jsonify
from flask_caching import Cache
from flask_cors import CORS

import main

app = Flask(__name__)
cache = Cache(app, config={'CACHE_TYPE': 'simple'})
cors = CORS(app, resources={r"/*": {"origins": "*"}})

app.register_blueprint(dataset.blueprint, url_prefix='/api/slack')

@app.route('/api/')
@cache.cached(timeout=10800)
def list_entities():
    return jsonify({'entities': ['restaurant']})


@app.route('/api/restaurant/')
@cache.cached(timeout=10800)
def list_restaurants():
    return jsonify({'restaurants': main.list_restaurants()})


@app.route('/api/restaurant/<name>/')
@cache.cached(timeout=10800)
def get_restaurant(name):
    data = dict(main.get_restaurant(name))
    if not data:
        abort(status=404)
    data['menu'] = [{'dish': entry} for entry in data['menu']]
    return jsonify({'restaurant': data})

@@ -105,16 +105,29 @@
 ort main
+%0Aimport slack
 %0A%0Aapp = 
@@ -276,15 +276,13 @@
 int(
-dataset
+slack
 .blu

Correct module name