from djagitit import db class LogParams: log_file = 'norway-jobs-cea.log' log_rotation = '7 days' log_retention = '30 days' log_compression = 'zip' log_level = 'INFO' class Params: site = 'norway' jobs_dict = { 'marketshares': [ { 'query': 'marketshares_last7days.sql', 'datasource_id': '284f33c8-d258-4475-9faa-50619956f941', }, { 'query': 'marketshares_totals.sql', 'datasource_id': '826e9c08-dfcf-4caf-8fe5-9f707cfc147e', }, { 'query': 'marketshares_charts_label.sql', 'datasource_id': '11b5ad0a-a57b-494d-ab4e-b9d1975787fc', }, { 'query': 'marketshares_vender_code_ww.sql', 'datasource_id': '0bd0c062-4d90-4ef0-83e8-ad5bd4880f6c', } ], # 'dabrant':[ # { # 'query': 'dabrant.sql', # 'datasource_id': '6da2996b-5627-4973-86c4-dffc898c79e6', # } # ], # 'local_rep': [ # { # 'query': 'local_rep.sql', # 'datasource_id': '021f8eb2-2b2e-4fd9-a275-d320e4d3795c', # } # ], # 'non_trad': [ # { # 'query': 'non_trad.sql', # 'datasource_id': '193b19ab-92e7-4ad3-bbfe-7fed8959810f', # } # ], 'skip_saves': [ { 'query': 'skipssaves_top100_7days.sql', 'datasource_id': '58b20cbb-c8ea-4ea4-a88b-d77dd42763df', }, { 'query': 'skipssaves_top100_365days.sql', 'datasource_id': 'e64799b5-be2f-4966-8cff-9a9002bc4fe4', } ], 'playlist_top_200': [ { 'query': 'playlists_top200.sql', 'datasource_id': '41451e4d-d0cd-437b-82f4-e302da9735d7', } ], 'search_terms': [ { 'query': 'search_terms.sql', 'datasource_id': '14feabb6-46ba-41b0-9cb7-60ab3830ec37', } ], 'spotify_top200artists': [ { 'query': 'spotify_top200artists.sql', 'datasource_id': '750945e4-d239-4e59-8554-4114867ebdeb', } ], }