Coverage for demo_server/settings.py: 100%
9 statements
« prev ^ index » next coverage.py v7.10.7, created at 2026-10-07 05:12 +0000
« prev ^ index » next coverage.py v7.10.7, created at 2026-10-07 05:12 +0000
1# Copyright (c) Microsoft Corporation.
2# Licensed under the MIT License.
4import os
6FLASK_SERVER_NAME = f"0.0.0.0:{os.environ['PORT']}"
7FLASK_DEBUG = True # Do not use debug mode in production
9# Flask-Restplus settings
10RESTPLUS_SWAGGER_UI_DOC_EXPANSION = 'list'
11RESTPLUS_VALIDATE = True
12RESTPLUS_MASK_SWAGGER = False
13RESTPLUS_ERROR_404_HELP = False
15# SQLAlchemy settings
16SQLALCHEMY_DATABASE_URI = 'sqlite:///db.sqlite'
17SQLALCHEMY_TRACK_MODIFICATIONS = False