Skip to content

Commit

Permalink
Fix invalid line length
Browse files Browse the repository at this point in the history
  • Loading branch information
kutu-dev committed Sep 17, 2023
1 parent 6759916 commit bbd7ba2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/knuckles/browsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,12 @@ def get_song(self, id: str) -> Song:

return Song(self.subsonic, **response)

def get_artist_info(self, id: str, count: int | None = None, include_not_present: bool | None = None) -> ArtistInfo:
response = self.api.request("getArtistInfo2", {"id": id, "count": count, "includeNotPresent":include_not_present})["artistInfo2"]
def get_artist_info(
self, id: str, count: int | None = None, include_not_present: bool | None = None
) -> ArtistInfo:
response = self.api.request(
"getArtistInfo2",
{"id": id, "count": count, "includeNotPresent": include_not_present},
)["artistInfo2"]

return ArtistInfo(self.subsonic, id, **response)

0 comments on commit bbd7ba2

Please sign in to comment.