From 6aabf675f481c71ff4058f0753d9333debfd7964 Mon Sep 17 00:00:00 2001 From: ReubenFrankel <60552974+ReubenFrankel@users.noreply.github.com> Date: Sat, 9 Sep 2023 18:13:35 +0100 Subject: [PATCH] Apply suggestions from code review --- tap_spotify/streams.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tap_spotify/streams.py b/tap_spotify/streams.py index 983dd4e..5947ace 100644 --- a/tap_spotify/streams.py +++ b/tap_spotify/streams.py @@ -161,12 +161,12 @@ class GlobalViralTracksDailyStream(_PlaylistTracksStream): primary_keys = ["rank", "synced_at"] -class UserSavedTracksStream(SpotifyStream): - """Define global viral tracks daily stream.""" +class UserSavedTracksStream(_SyncedAtStream, SpotifyStream): + """Define user saved tracks stream.""" - name = "user_saved_track_streams" + name = "user_saved_track_stream" path = "/me/tracks" - primary_keys = ["synced_at"] + primary_keys = ["id", "synced_at"] limit = 50 schema = TrackObject.extend_with(SyncedAt).schema records_jsonpath = "$.items[*].track"