Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tehkillerbee committed Apr 8, 2024
1 parent 98dafb9 commit 9087f35
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions tidalapi/artist.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,11 @@ def get_albums(self, limit: Optional[int] = None, offset: int = 0) -> List["Albu
return self._get_albums(params)

def get_albums_ep_singles(
self, limit: Optional[int] = None, offset: int = 0
self, limit: Optional[int] = None, offset: int = 0
) -> List["Album"]:
print("This method is deprecated an will be removed in a future release. Use instead `get_ep_singles`")
print(
"This method is deprecated an will be removed in a future release. Use instead `get_ep_singles`"
)

return self.get_ep_singles(limit=limit, offset=offset)

Expand All @@ -143,15 +145,15 @@ def get_ep_singles(
return self._get_albums(params)

def get_albums_other(
self, limit: Optional[int] = None, offset: int = 0
self, limit: Optional[int] = None, offset: int = 0
) -> List["Album"]:
print("This method is deprecated an will be removed in a future release. Use instead `get_other`")
print(
"This method is deprecated an will be removed in a future release. Use instead `get_other`"
)

return self.get_other(limit=limit, offset=offset)

def get_other(
self, limit: Optional[int] = None, offset: int = 0
) -> List["Album"]:
def get_other(self, limit: Optional[int] = None, offset: int = 0) -> List["Album"]:
"""Queries TIDAL for albums the artist has appeared on as a featured artist.
:return: A list of :class:`Albums <tidalapi.album.Album>`
Expand Down

0 comments on commit 9087f35

Please sign in to comment.