def getTalents(self):
        try:
            return self.talents
        except __HOLE__:
            self.talents = [[] for _ in xrange(10)]
            talentsReader = self.getTalentsReader()
            generator = talentsReader.decode_game_events_talent_choices(self.reader.getReplayGameEvents(), self.getPlayersHeroChoiceArray())
            for choice in generator:
                self.talents[choice['_userid']].append({
                    'seconds': self.gameloopToSeconds(choice['_gameloop']),
                    'level': choice['m_level'],
                    'name': choice['m_talentName'],
                    'description': choice['m_talentDescription'],
                    'index': choice['m_talentIndex'],
                })
        return self.talents
dataset/ETHPy150Open karlgluck/heroes-of-the-storm-replay-parser/stormreplay/analyzer.py/StormReplayAnalyzer.getTalents