4.1.1.3. datanator.config package

4.1.1.3.1. Submodules

4.1.1.3.2. datanator.config.config module

class datanator.config.config.BaseConfig[source]

Bases: object

Base configuration.

BCRYPT_LOG_ROUNDS = 13[source]
DEBUG = False[source]
DEBUG_TB_ENABLED = False[source]
DEBUG_TB_INTERCEPT_REDIRECTS = False[source]
SECRET_KEY = 'my_precious'[source]
SQLALCHEMY_TRACK_MODIFICATIONS = False[source]
WTF_CSRF_ENABLED = False[source]
class datanator.config.config.BuildConfig[source]

Bases: datanator.config.config.BaseConfig

Testing configuration.

BCRYPT_LOG_ROUNDS = 4[source]
DEBUG = True[source]
DEBUG_TB_ENABLED = False[source]
PRESERVE_CONTEXT_ON_EXCEPTION = False[source]
SQLALCHEMY_DATABASE_URI = 'postgresql://postgres@postgres_service/CommonSchema'[source]
TESTING = True[source]
WTF_CSRF_ENABLED = False[source]
class datanator.config.config.CircleTestingConfig[source]

Bases: datanator.config.config.BaseConfig

Testing configuration.

BCRYPT_LOG_ROUNDS = 4[source]
DEBUG = True[source]
DEBUG_TB_ENABLED = False[source]
PRESERVE_CONTEXT_ON_EXCEPTION = False[source]
SQLALCHEMY_DATABASE_URI = 'postgresql://postgres@postgres_service/CommonSchema'[source]
TESTING = True[source]
WTF_CSRF_ENABLED = False[source]
class datanator.config.config.LocalDevelopmentConfig[source]

Bases: datanator.config.config.BaseConfig

Development configuration.

BCRYPT_LOG_ROUNDS = 4[source]
DEBUG = True[source]
DEBUG_TB_ENABLED = True[source]
SQLALCHEMY_DATABASE_URI = 'postgres://postgres@localhost/CommonSchema'[source]
TESTING = False[source]
WTF_CSRF_ENABLED = False[source]
class datanator.config.config.ProductionConfig[source]

Bases: datanator.config.config.BaseConfig

Testing configuration.

BCRYPT_LOG_ROUNDS = 4[source]
DEBUG = False[source]
DEBUG_TB_ENABLED = False[source]
PRESERVE_CONTEXT_ON_EXCEPTION = False[source]
SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://karrlab:karr7116@commonschema.chqeewx1anny.us-east-1.rds.amazonaws.com/commonschema'[source]
TESTING = False[source]
WTF_CSRF_ENABLED = False[source]

4.1.1.3.3. datanator.config.core module

Configuration

Author:Jonathan Karr <jonrkarr@gmail.com>
Date:2017-05-13
Copyright:2017, Karr Lab
License:MIT
datanator.config.core.get_config(extra=None)[source]

Get configuration

Parameters:extra (dict, optional) – additional configuration to override
Returns:nested dictionary with the configuration settings loaded from the configuration source(s).
Return type:configobj.ConfigObj
datanator.config.core.get_debug_logs_config(extra=None)[source]

Get debug logs configuration

Parameters:extra (dict, optional) – additional configuration to override
Returns:nested dictionary with the configuration settings loaded from the configuration source(s).
Return type:configobj.ConfigObj

4.1.1.3.4. Module contents