#NEWLINE# def get_routes( app ) : #NEWLINE# #INDENT# for rule in app . url_map . iter_rules ( ) : #NEWLINE# #INDENT# methods = rule . methods . difference ( [ 'OPTIONS' , 'HEAD' ] ) #NEWLINE# for method in methods : #NEWLINE# #INDENT# path = translate_werkzeug_rule ( rule . rule ) #NEWLINE# ( yield ( method , path , rule . endpoint ) )