"""Logic for Spotify Artists. Acceses Spotify artist metadata. """ from artist.models import spotify def search(query): """Search for artists with a similar name. Args: query(str): Artist name. """ return spotify.search(query, 'artist')