#NEWLINE# def __init__( self , cluster_master ) : #NEWLINE# #INDENT# '\n        :type cluster_master: ClusterMaster\n        ' #NEWLINE# default_params = { #NEWLINE# #INDENT# 'cluster_master' : cluster_master , #NEWLINE# #UNINDENT# } #NEWLINE# root_route = RouteNode ( '/' , _RootHandler ) . add_children ( [ RouteNode ( 'v1' , _APIVersionOneHandler ) . add_children ( [ RouteNode ( 'version' , _VersionHandler ) , RouteNode ( 'build' , _BuildsHandler , 'builds' ) . add_children ( [ RouteNode ( '(\\d+)' , _BuildHandler , 'build' ) . add_children ( [ RouteNode ( 'result' , _BuildResultRedirectHandler ) , RouteNode ( 'artifacts.tar.gz' , _BuildResultHandler ) , RouteNode ( 'subjob' , _SubjobsHandler , 'subjobs' ) . add_children ( [ RouteNode ( '(\\d+)' , _SubjobHandler , 'subjob' ) . add_children ( [ RouteNode ( 'atom' , _AtomsHandler , 'atoms' ) . add_children ( [ RouteNode ( '(\\d+)' , _AtomHandler , 'atom' ) . add_children ( [ RouteNode ( 'console' , _AtomConsoleHandler ) ] ) ] ) , RouteNode ( 'result' , _SubjobResultHandler ) ] ) ] ) ] ) ] ) , RouteNode ( 'queue' , _QueueHandler ) , RouteNode ( 'slave' , _SlavesHandler , 'slaves' ) . add_children ( [ RouteNode ( '(\\d+)' , _SlaveHandler , 'slave' ) . add_children ( [ RouteNode ( 'shutdown' , _SlaveShutdownHandler , 'shutdown' ) ] ) , RouteNode ( 'shutdown' , _SlavesShutdownHandler , 'shutdown' ) ] ) , RouteNode ( 'eventlog' , _EventlogHandler ) ] ) ] ) #NEWLINE# handlers = self . get_all_handlers ( root_route , root_route ) #NEWLINE# super ( ) . __init__ ( handlers )