Commit 19a0c4dc authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Remove dependencies on restful flask

parent 260123c7
Pipeline #37205 passed with stages
in 1 minute and 8 seconds
......@@ -19,7 +19,6 @@ from os import environ
from flasgger import Swagger
from flask import send_from_directory, redirect
from flask_restful import Api
from import_api_app.app import app
from import_api_app.helpers.error import ImportApiError
......@@ -42,8 +41,6 @@ if __name__ != '__main__':
app.logger = gunicorn_logger
app.logger.info('Starting production server')
api = Api(app)
try:
app.config['import-api-url'] = os.environ['IMPORT_API_URL']
app.config['kafka-broker-url'] = os.environ['KAFKA_BOOTSTRAP_SERVERS']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment