#NEWLINE# @ bp . route ( '/<int:project_id>/jobs/<int:id>/log/' ) #NEWLINE# def job_log( project_id , id ) : #NEWLINE# #INDENT# project = get_project ( project_id , for_management = False ) #NEWLINE# job = project . builds . join ( Job ) . filter ( ( Job . id == id ) ) . with_entities ( Job ) . first_or_404 ( ) #NEWLINE# return Response ( project_id . stdout , mimetype = 'text/plain' )