mental32 / spotify.py

🌐 API wrapper for Spotify 🎶
https://spotifypy.readthedocs.io/en/latest/
MIT License
150 stars 38 forks source link

edit_playlist issues when calling change_playlist_details #49

Closed frafra closed 4 years ago

frafra commented 4 years ago

I am trying to change the description of a playlist on master.

    await user.edit_playlist(playlist, description=description)
  File "/home/frafra/.cache/pypoetry/virtualenvs/spotify-share-library-sjzLS3P8-py3.7/src/spotify/spotify/models/user.py", line 416, in edit_playlist
    await self.http.change_playlist_details(self.id, to_id(str(playlist)), **data)  # type: ignore
TypeError: change_playlist_details() takes 2 positional arguments but 3 positional arguments (and 1 keyword-only argument) were given