Fix argument order
This commit is contained in:
parent
37f4c81290
commit
1799672084
@ -18,7 +18,7 @@ def artist_albums(client: Spotify, artist_ids: Iterable[str]) -> Iterable[Search
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
def _artist_albums(artist_id: str, limit: int, offset: int) -> Paging:
|
def _artist_albums(artist_id: str, limit: int, offset: int) -> Paging:
|
||||||
return Paging(**client.artist_albums(artist_id, limit, offset))
|
return Paging(**client.artist_albums(artist_id, limit=limit, offset=offset))
|
||||||
|
|
||||||
for artist_id in artist_ids:
|
for artist_id in artist_ids:
|
||||||
albums_function = partial(_artist_albums, artist_id)
|
albums_function = partial(_artist_albums, artist_id)
|
||||||
|
Loading…
Reference in New Issue
Block a user