qunicorn_core.util.config package
Submodules
- qunicorn_core.util.config.celery_config module
- qunicorn_core.util.config.smorest_config module
SmorestDebugConfigSmorestProductionConfigSmorestProductionConfig.OPENAPI_JSON_PATHSmorestProductionConfig.OPENAPI_RAPIDOC_CONFIGSmorestProductionConfig.OPENAPI_RAPIDOC_PATHSmorestProductionConfig.OPENAPI_RAPIDOC_URLSmorestProductionConfig.OPENAPI_REDOC_PATHSmorestProductionConfig.OPENAPI_REDOC_URLSmorestProductionConfig.OPENAPI_SWAGGER_UI_PATHSmorestProductionConfig.OPENAPI_SWAGGER_UI_URLSmorestProductionConfig.OPENAPI_URL_PREFIXSmorestProductionConfig.OPENAPI_VERSION
- qunicorn_core.util.config.sqlalchemy_config module
Module contents
Module containing default config values.
- class qunicorn_core.util.config.DebugConfig
Bases:
ProductionConfig,SQLAchemyDebugConfig,SmorestDebugConfig- CELERY = {'broker_url': 'redis://localhost:6379', 'result_backend': 'redis://localhost:6379', 'task_default_queue': 'qunicorn_core'}
- DEBUG = True
- DEFAULT_LOG_SEVERITY = 20
- ENV = 'development'
- SECRET_KEY = 'debug_secret'
- class qunicorn_core.util.config.ProductionConfig
Bases:
SQLAchemyProductionConfig,SmorestProductionConfig- CELERY = {'broker_url': 'redis://localhost:6379', 'result_backend': 'redis://localhost:6379', 'task_default_queue': 'qunicorn_core'}
- DEBUG = False
- DEFAULT_LOG_DATE_FORMAT = None
- DEFAULT_LOG_FORMAT = '{asctime} [{levelname:^7}] [{module:<15}] {message:<175} <{funcName}, {lineno}; {pathname}>'
- DEFAULT_LOG_FORMAT_STYLE = '{'
- DEFAULT_LOG_SEVERITY = 30
- ENV = 'production'
- JSONIFY_PRETTYPRINT_REGULAR = False
- JSON_SORT_KEYS = False
- LOG_CONFIG = None
- QPROV_URL = None
- REVERSE_PROXY_COUNT = 0
- SECRET_KEY = b'\xa9\xaf\xb2A$\r\xfb\x7f\x9f^]\xd4\xa3v8-\xa3\xb1 e~Ez\xd0m\x11\xae\xea\x99\x12\xa9\xb4'
- TESTING = False