kozaka-tv / Rocksmith-Servant

MIT License
6 stars 5 forks source link

Add to SongData the __eq__ and __hash__ #237

Open kozaka-tv opened 4 months ago

kozaka-tv commented 4 months ago

TODO rspl_request_id? or cdlc_id? or something else?

def eq(self, other): return self.rspl_request_id == other.rspl_request_id return self.song_filename == other.song_filename

def hash(self): return hash(self.rspl_request_id)