#NEWLINE# def convert( self , target , endpoint = None , blueprint = None ) : #NEWLINE# #INDENT# endpoint = ( endpoint or target . __name__ . lower ( ) ) #NEWLINE# if blueprint : #NEWLINE# #INDENT# endpoint = '{}.{}' . format ( blueprint , endpoint ) #NEWLINE# #UNINDENT# rules = self . app . url_map . _rules_by_endpoint [ endpoint ] #NEWLINE# return [ self . get_path ( rule , target ) for rule in rules ]