Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
ReubenFrankel authored Sep 9, 2023
1 parent c9bab38 commit 6aabf67
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tap_spotify/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 6aabf67

Please sign in to comment.