#NEWLINE# def persist_ranking( pid , value , country , category ) : #NEWLINE# #INDENT# ranking = models . data . Ranking ( ) #NEWLINE# ranking . pid = pid #NEWLINE# ranking . category = category #NEWLINE# ranking . country = country #NEWLINE# ranking . ranking = value #NEWLINE# return ranking . put ( )