Skip to content

Commit

Permalink
docs: complete Client.get_user_albums return type
Browse files Browse the repository at this point in the history
  • Loading branch information
prndrbr authored and browniebroke committed Feb 7, 2022
1 parent 8ff8ac5 commit 46846dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deezer/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ def get_user(self, user_id: int | None = None) -> User:
user_id_str = str(user_id) if user_id else "me"
return self.request("GET", f"user/{user_id_str}")

def get_user_albums(self, user_id: int | None = None) -> PaginatedList:
def get_user_albums(self, user_id: int | None = None) -> PaginatedList[Album]:
"""
Get the favourites albums for the given user_id if provided or current user if not.
Expand Down

0 comments on commit 46846dc

Please sign in to comment.