"""Config file. For Apple podcast listening content performance data ingestion workflow. """ import os environment = os.environ.get('Environment', 'dev') feed_name = 'apple_podcasts_content_performance' s3_feed_name = 'listening-content-performance' secrets_path = 'swf-apple-podcasts-content-performance' staging_raw_table = 'staging_raw_apple_podcasts_content_performance' account = 'sme' account_id = 120343499 sme_vendor = 'SME' pod_sub_llc_vendor = 'POD_SUB_LLC' vendors = { sme_vendor: 90421401, pod_sub_llc_vendor: 92655920 } overall_feed_name = '_'.join([feed_name, account]) s3_bucket = os.environ.get( 'FEED_INGESTION_DATA_BUCKET', 'dev-apple-podcasts-reports') s3_archive_path_template = ( f's3://{s3_bucket}/{s3_feed_name}/' ) report_type = 'apContentPerformance' # Filename download format report_name = 'ApplePodcasts_ContentPerformance_{vendor_id}_{date}.txt.gz'