spotify_actions/spotify_actions/echo.py
Bradlee Speice 9f5caa76f0 Fall back to using Spotipy
Would rather have async I/O, but there are too many issues with the data model of other APIs.
2021-07-03 22:46:30 -04:00

14 lines
346 B
Python

"""
Methods for printing results to console; primarily useful when developing/debugging pipelines to
check results before committing.
"""
from typing import Iterable
from spotify_model.album import SearchAlbum
def echo_album(albums: Iterable[SearchAlbum]) -> None:
"Print album metadata"
for album in albums:
print(album.name)