def _is_same_artist(self, artist1, artist2): album1_str = link.create_from_artist(artist1).as_string() album2_str = link.create_from_artist(artist2).as_string() return album1_str == album2_str
def to_artist_model(self, artist): return Model(name=artist.name(), uri=link.create_from_artist(artist).as_string())
def to_artist_model(self, artist): return Model(name = artist.name(), uri = link.create_from_artist(artist).as_string())