#NEWLINE# def __init__( self , scheduler_instance ) : #NEWLINE# #INDENT# self . scheduler_manager = scheduler_instance #NEWLINE# self . tornado_settings = dict ( debug = settings . DEBUG , static_path = settings . STATIC_DIR_PATH , template_path = settings . TEMPLATE_DIR_PATH , scheduler_manager = self . scheduler_manager ) #NEWLINE# URLS = [ ( '/' , index . Handler ) , ( ( '/api/%s/jobs' % self . VERSION ) , jobs . Handler ) , ( ( '/api/%s/jobs/(.*)' % self . VERSION ) , jobs . Handler ) , ( ( '/api/%s/executions' % self . VERSION ) , executions . Handler ) , ( ( '/api/%s/executions/(.*)' % scheduler_instance . VERSION ) , executions . Handler ) , ( ( '/api/%s/logs' % self . VERSION ) , audit_logs . Handler ) ] #NEWLINE# self . application = tornado . web . Application ( URLS , ** self . tornado_settings )