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