from global_logger import logger, local
from os import environ
import pytz


class Config(object):
    """Define the config parameters for this app."""
    logger.info("Start of the Config() class.")

    # Location for environment variables is automatically set by the env_variables.yaml file when running in GCP
    if local:
        from env_tools import apply_env
        apply_env()
        logger.info("Applied .env variables using env_tools")

    # AWS credentials
    aws_account_id = environ.get('AWS_ACCOUNT_ID')
    aws_access_key = environ.get('AWS_ACCESS_KEY_ID')
    aws_secret_access_key = environ.get('AWS_SECRET_ACCESS_KEY')
    aws_user = environ.get('AWS_USER')
    aws_region = environ.get('AWS_REGION')
    aws_arn = environ.get('AWS_ARN')

    # App-related
    SECRET_KEY = environ.get('SECRET_KEY') or '0mW7@LN0n32L6ntaj0d8jzsXiAW4mkPL7u5l'
    domain_url = environ.get('DOMAIN_URL')

    # Date & time formatting prefs
    date_format = '%Y-%m-%d'
    datetime_format = '%Y-%m-%d %H:%M:%S'
    step_when_format = '%a %H:%M'

    logger.info("End of the Config() class.")


# TODO: Add support for moment.js
PST = pytz.timezone('US/Pacific')

55c02688f824adac704a1b594a9d04b32b2ba39d
<mask token>


class Config(object):
    <mask token>
    logger.info('Start of the Config() class.')
    if local:
        from env_tools import apply_env
        apply_env()
        logger.info('Applied .env variables using env_tools')
    aws_account_id = environ.get('AWS_ACCOUNT_ID')
    aws_access_key = environ.get('AWS_ACCESS_KEY_ID')
    aws_secret_access_key = environ.get('AWS_SECRET_ACCESS_KEY')
    aws_user = environ.get('AWS_USER')
    aws_region = environ.get('AWS_REGION')
    aws_arn = environ.get('AWS_ARN')
    SECRET_KEY = environ.get('SECRET_KEY'
        ) or '0mW7@LN0n32L6ntaj0d8jzsXiAW4mkPL7u5l'
    domain_url = environ.get('DOMAIN_URL')
    date_format = '%Y-%m-%d'
    datetime_format = '%Y-%m-%d %H:%M:%S'
    step_when_format = '%a %H:%M'
    logger.info('End of the Config() class.')


<mask token>

<mask token>


class Config(object):
    """Define the config parameters for this app."""
    logger.info('Start of the Config() class.')
    if local:
        from env_tools import apply_env
        apply_env()
        logger.info('Applied .env variables using env_tools')
    aws_account_id = environ.get('AWS_ACCOUNT_ID')
    aws_access_key = environ.get('AWS_ACCESS_KEY_ID')
    aws_secret_access_key = environ.get('AWS_SECRET_ACCESS_KEY')
    aws_user = environ.get('AWS_USER')
    aws_region = environ.get('AWS_REGION')
    aws_arn = environ.get('AWS_ARN')
    SECRET_KEY = environ.get('SECRET_KEY'
        ) or '0mW7@LN0n32L6ntaj0d8jzsXiAW4mkPL7u5l'
    domain_url = environ.get('DOMAIN_URL')
    date_format = '%Y-%m-%d'
    datetime_format = '%Y-%m-%d %H:%M:%S'
    step_when_format = '%a %H:%M'
    logger.info('End of the Config() class.')


<mask token>

<mask token>


class Config(object):
    """Define the config parameters for this app."""
    logger.info('Start of the Config() class.')
    if local:
        from env_tools import apply_env
        apply_env()
        logger.info('Applied .env variables using env_tools')
    aws_account_id = environ.get('AWS_ACCOUNT_ID')
    aws_access_key = environ.get('AWS_ACCESS_KEY_ID')
    aws_secret_access_key = environ.get('AWS_SECRET_ACCESS_KEY')
    aws_user = environ.get('AWS_USER')
    aws_region = environ.get('AWS_REGION')
    aws_arn = environ.get('AWS_ARN')
    SECRET_KEY = environ.get('SECRET_KEY'
        ) or '0mW7@LN0n32L6ntaj0d8jzsXiAW4mkPL7u5l'
    domain_url = environ.get('DOMAIN_URL')
    date_format = '%Y-%m-%d'
    datetime_format = '%Y-%m-%d %H:%M:%S'
    step_when_format = '%a %H:%M'
    logger.info('End of the Config() class.')


PST = pytz.timezone('US/Pacific')

from global_logger import logger, local
from os import environ
import pytz


class Config(object):
    """Define the config parameters for this app."""
    logger.info('Start of the Config() class.')
    if local:
        from env_tools import apply_env
        apply_env()
        logger.info('Applied .env variables using env_tools')
    aws_account_id = environ.get('AWS_ACCOUNT_ID')
    aws_access_key = environ.get('AWS_ACCESS_KEY_ID')
    aws_secret_access_key = environ.get('AWS_SECRET_ACCESS_KEY')
    aws_user = environ.get('AWS_USER')
    aws_region = environ.get('AWS_REGION')
    aws_arn = environ.get('AWS_ARN')
    SECRET_KEY = environ.get('SECRET_KEY'
        ) or '0mW7@LN0n32L6ntaj0d8jzsXiAW4mkPL7u5l'
    domain_url = environ.get('DOMAIN_URL')
    date_format = '%Y-%m-%d'
    datetime_format = '%Y-%m-%d %H:%M:%S'
    step_when_format = '%a %H:%M'
    logger.info('End of the Config() class.')


PST = pytz.timezone('US/Pacific')

from global_logger import logger, local
from os import environ
import pytz


class Config(object):
    """Define the config parameters for this app."""
    logger.info("Start of the Config() class.")

    # Location for environment variables is automatically set by the env_variables.yaml file when running in GCP
    if local:
        from env_tools import apply_env
        apply_env()
        logger.info("Applied .env variables using env_tools")

    # AWS credentials
    aws_account_id = environ.get('AWS_ACCOUNT_ID')
    aws_access_key = environ.get('AWS_ACCESS_KEY_ID')
    aws_secret_access_key = environ.get('AWS_SECRET_ACCESS_KEY')
    aws_user = environ.get('AWS_USER')
    aws_region = environ.get('AWS_REGION')
    aws_arn = environ.get('AWS_ARN')

    # App-related
    SECRET_KEY = environ.get('SECRET_KEY') or '0mW7@LN0n32L6ntaj0d8jzsXiAW4mkPL7u5l'
    domain_url = environ.get('DOMAIN_URL')

    # Date & time formatting prefs
    date_format = '%Y-%m-%d'
    datetime_format = '%Y-%m-%d %H:%M:%S'
    step_when_format = '%a %H:%M'

    logger.info("End of the Config() class.")


# TODO: Add support for moment.js
PST = pytz.timezone('US/Pacific')
