mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 17:23: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!
|
""" 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::
|
.. deprecated::
|
||||||
This endpoint has been removed by Spotify and is no longer available.
|
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
|
- snapshot_id - optional id of the playlist snapshot
|
||||||
"""
|
"""
|
||||||
warnings.warn(
|
warnings.warn(
|
||||||
"You should use `playlist_remove_specific_occurrences_of_items"
|
"You're using `user_playlist_remove_specific_occurrences_of_tracks(...)`, "
|
||||||
"(playlist_id, tracks)` instead",
|
"which is marked as deprecated by Spotify.",
|
||||||
DeprecationWarning,
|
DeprecationWarning,
|
||||||
)
|
)
|
||||||
plid = self._get_id("playlist", playlist_id)
|
plid = self._get_id("playlist", playlist_id)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user