qhana_plugin_runner.util.config package
Submodules
- qhana_plugin_runner.util.config.celery_config module
- qhana_plugin_runner.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
- qhana_plugin_runner.util.config.sqlalchemy_config module
Module contents
Module containing default config values.
- class qhana_plugin_runner.util.config.DebugConfig
Bases:
ProductionConfig,SQLAchemyDebugConfig,SmorestDebugConfig- CELERY = ChainMap({'broker_url': 'redis://localhost:6379', 'result_backend': 'redis://localhost:6379'}, {'task_default_queue': 'qhana_plugin_runner'})
- DEBUG = True
- DEFAULT_LOG_SEVERITY = 20
- ENV = 'development'
- PLUGIN_FOLDERS = ['./plugins', './local_plugins']
- SECRET_KEY = 'debug_secret'
- class qhana_plugin_runner.util.config.ProductionConfig
Bases:
SQLAchemyProductionConfig,SmorestProductionConfig- CELERY = {'task_default_queue': 'qhana_plugin_runner'}
- DEBUG = False
- DEFAULT_FILE_STORE = 'local_filesystem'
- DEFAULT_LOG_DATE_FORMAT = None
- DEFAULT_LOG_FORMAT = '{asctime} [{levelname:^7}] [{module:<30}] {message} <{funcName}, {lineno}; {pathname}>'
- DEFAULT_LOG_FORMAT_STYLE = '{'
- DEFAULT_LOG_SEVERITY = 30
- ENV = 'production'
- FILE_STORE_ROOT_PATH = 'files'
- JSONIFY_PRETTYPRINT_REGULAR = False
- JSON_SORT_KEYS = True
- LOG_CONFIG = None
- NISQ_ANALYZER_UI_URL = 'http://localhost:4201'
- REVERSE_PROXY_COUNT = 0
- SECRET_KEY = b'\xe3\xc0R\xf9\x84\x15\xc9\x8b~@\x93\xa1\x02\x10{\xda\xa0c\xfam\\^\xa3\x90\xa3\x1d\xf8\xaa%\x85\x9b\x8d'
- TESTING = False