<s> import tornado . web <EOL> class ClusterApplication ( tornado . web . Application ) : <EOL> @ staticmethod <EOL> def get_all_handlers ( root_route , default_params ) : <EOL> """<STR_LIT>""" <EOL> all_route_nodes = [ root_route ] + root_route . descendants ( ) <EOL> return [ ( route . regex ( ) , route . handler , dict ( default_params , route_node = route ) ) for route in all_route_nodes ] </s>
