"""Config file. For Apple podcast subscription snapshot data weekly ingestion workflow. """ import os environment = os.environ.get('Environment', 'dev') feed_name = 'apple_podcasts_subscription_snapshot_weekly' s3_feed_name = 'subscription-snapshot-weekly' secrets_path = 'swf-apple-podcasts-subs-snapshot-weekly' staging_raw_table = 'staging_raw_apple_podcasts_subscription_snapshot_weekly' 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 = 'apSubscriptionsSnapshot' date_type = 'Weekly' # Filename download format report_name = 'ApplePodcasts_SubscriptionSnapshot_{vendor_id}_{date}.txt.gz'