#NEWLINE# @ require_http_methods ( [ 'GET' ] ) #NEWLINE# def get_node( request , name ) : #NEWLINE# #INDENT# 'Returns a node' #NEWLINE# data = chef . get_node ( name ) #NEWLINE# if ( not data ) : #NEWLINE# #INDENT# raise Http404 ( ) #NEWLINE# #UNINDENT# return HttpResponse ( json . dumps ( data ) , content_type = 'application/json' )