#NEWLINE# def get( self , build_id , subjob_id , atom_id ) : #NEWLINE# #INDENT# '\n        :type build_id: int\n        :type subjob_id: int\n        :type atom_id: int\n        ' #NEWLINE# self . set_header ( 'Access-Control-Allow-Origin' , '*' ) #NEWLINE# max_lines = int ( self . get_query_argument ( 'max_lines' , 50 ) ) #NEWLINE# offset_line = self . get_query_argument ( 'offset_line' , None ) #NEWLINE# if ( offset_line is not None ) : #NEWLINE# #INDENT# offset_line = int ( offset_line ) #NEWLINE# #UNINDENT# response = self . _cluster_slave . get_console_output ( build_id , subjob_id , atom_id , Configuration [ 'artifact_directory' ] , max_lines , offset_line ) #NEWLINE# self . write ( response )