#NEWLINE# def leaders( self , category , cycle = CURRENT_CYCLE , offset = 0 ) : #NEWLINE# #INDENT# 'Returns a list of leading candidates in a given category' #NEWLINE# path = '/%s/candidates/leaders/%s' #NEWLINE# result = self . fetch ( offset , cycle , category , offset = offset , parse = ( lambda r : r [ 'results' ] ) ) #NEWLINE# return result