"""Constants.""" PLATFORMS = [ 'deezer', 'facebook', 'instagram', 'soundcloud', 'spotify', 'tiktok', 'twitter', 'youtube' ] QUERIES = { 'get_globalParticipantBySpotifyId_query': """ query getGlobalParticipantDataBySpotifyId ($spotifyId: String!){ globalParticipantBySpotifyId(spotifyId: $spotifyId) { id labelParticipants { labelParticipants(offset: 0) { uuid } } publicParticipantChartmetric { accountStatsV2 { platform url followers monthlyListeners } } } } """, 'get_globalParticipantBySocialAccountUrl_query': """ query getGlobalParticipantDataBySocialAccountUrl($url: String!){ globalParticipantBySocialAccountUrl(url: $url) { id labelParticipants { labelParticipants(offset: 0) { uuid } } publicParticipantChartmetric { accountStatsV2 { platform url followers monthlyListeners } } } } """ } ERROR_REQUEST_EXCEPTION = 'Exception raised while querying graphql_gateway' ERROR_LAMBDA_FATAL = 'Unhandled exception.'