def aws_creds(): from dallinger.config import get_config config = get_config() if not config.ready: config.load() creds = { 'aws_access_key_id': config.get('aws_access_key_id'), 'aws_secret_access_key': config.get('aws_secret_access_key') } return creds
def aws_creds(): from dallinger.config import get_config config = get_config() if not config.ready: config.load() creds = { "aws_access_key_id": config.get("aws_access_key_id"), "aws_secret_access_key": config.get("aws_secret_access_key"), } return creds
def prolific_creds(): from dallinger.config import get_config config = get_config() if not config.ready: config.load() creds = { "prolific_api_token": config.get("prolific_api_token"), "prolific_api_version": config.get("prolific_api_version"), } return creds