Commit 76d899d2 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Minor: added some mypy ignores.

parent e26e3610
Pipeline #43565 passed with stages
in 17 minutes and 35 seconds
......@@ -35,11 +35,11 @@ app = Flask(
static_folder=os.path.abspath(os.path.join(os.path.dirname(__file__), '../../docs/.build/html')))
""" The Flask app that serves all APIs. """
app.config.APPLICATION_ROOT = base_path
app.config.RESTPLUS_MASK_HEADER = False
app.config.RESTPLUS_MASK_SWAGGER = False
app.config.SWAGGER_UI_OPERATION_ID = True
app.config.SWAGGER_UI_REQUEST_DURATION = True
app.config.APPLICATION_ROOT = base_path # type: ignore
app.config.RESTPLUS_MASK_HEADER = False # type: ignore
app.config.RESTPLUS_MASK_SWAGGER = False # type: ignore
app.config.SWAGGER_UI_OPERATION_ID = True # type: ignore
app.config.SWAGGER_UI_REQUEST_DURATION = True # type: ignore
def api_base_path_response(env, resp):
......@@ -49,7 +49,7 @@ def api_base_path_response(env, resp):
config.services.api_base_path).encode('utf-8')]
app.wsgi_app = DispatcherMiddleware(
app.wsgi_app = DispatcherMiddleware( # type: ignore
api_base_path_response, {config.services.api_base_path: app.wsgi_app})
......
Supports Markdown
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