Skip to content

Commit

Permalink
docs: fix docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
browniebroke committed Jun 30, 2021
1 parent a07e466 commit 0e87749
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deezer/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,9 @@ def get_object(
self, object_t, object_id=None, relation=None, parent=None, **kwargs
):
"""
Actually query the Deezer API to retrieve the object
Actually query the Deezer API to retrieve the object.
:returns: json dictionary
:returns: an :class:`~deezer.resources.Resource` or subclass.
"""
url = self.object_url(object_t, object_id, relation, **kwargs)
response = self.session.get(url)
Expand All @@ -194,15 +194,15 @@ def get_object(

def get_album(self, object_id, relation=None, **kwargs):
"""
Get the album with the provided id
Get the album with the provided ID.
:returns: an :class:`~deezer.resources.Album` object
"""
return self.get_object("album", object_id, relation=relation, **kwargs)

def get_artist(self, object_id, relation=None, **kwargs):
"""
Get the artist with the provided id
Get the artist with the provided ID.
:returns: an :class:`~deezer.resources.Artist` object
"""
Expand Down

0 comments on commit 0e87749

Please sign in to comment.