mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 01:03:53 +00:00
fix
This commit is contained in:
parent
d9c9e98d65
commit
67dc43924e
@ -1037,7 +1037,7 @@ class Spotify:
|
||||
):
|
||||
""" This function is no longer in use, please use the recommended function in the warning!
|
||||
|
||||
Removes all occurrences of the given tracks from the given playlist
|
||||
Removes specific occurrences of the given tracks from the given playlist
|
||||
|
||||
.. deprecated::
|
||||
This endpoint has been removed by Spotify and is no longer available.
|
||||
@ -1053,8 +1053,8 @@ class Spotify:
|
||||
- snapshot_id - optional id of the playlist snapshot
|
||||
"""
|
||||
warnings.warn(
|
||||
"You should use `playlist_remove_specific_occurrences_of_items"
|
||||
"(playlist_id, tracks)` instead",
|
||||
"You're using `user_playlist_remove_specific_occurrences_of_tracks(...)`, "
|
||||
"which is marked as deprecated by Spotify.",
|
||||
DeprecationWarning,
|
||||
)
|
||||
plid = self._get_id("playlist", playlist_id)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user