Fix argument order

This commit is contained in:
Bradlee Speice 2021-09-14 00:20:02 -04:00
parent 37f4c81290
commit 1799672084

View File

@ -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:
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:
albums_function = partial(_artist_albums, artist_id)