#NEWLINE# @ cassiopeia . type . core . common . lazyproperty #NEWLINE# def runes( self ) : #NEWLINE# #INDENT# '\n        Returns:\n            list<Rune>: the runes in this rune page\n        ' #NEWLINE# runes = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for slot in self . data . slots : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# runes [ slot . runeId ] += 1 #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# runes [ slot . runeId ] = 1 #NEWLINE# #UNINDENT# #UNINDENT# fetched = cassiopeia . riotapi . get_runes ( list ( runes . keys ( ) ) ) #NEWLINE# return { rune : runes [ rune . id ] for rune in fetched }