@property
    def artists(self):
        """
        Calculates the artists for this album by traversing the list of tracks.
        This is a terrible way of doing this, but we assume that the worst case
        will still be good enough to defer the optimization of this method for
        the future.
        """

        artists = []

        # FIXME: Optimize
        for track in self.tracks:
            for artist in track.artists:
                if artists not in artist:
                    artists.append(artist)

        return artists
dataset/ETHPy150Open tooxie/shiva-server/shiva/models.py/Album.artists/swapped operands of `not in`