Bradlee Speice
9f5caa76f0
Would rather have async I/O, but there are too many issues with the data model of other APIs.
14 lines
346 B
Python
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)
|