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'\xa8-\xc5@\xa3\xadF\xea\xaa\xfa\x17\xa0\xee\xbcI\xbc%p\xe7\x1b\xc4\xbb\x8f\xd9#6T\xbaE\xd31\xfb'
- TESTING = False