#NEWLINE# @ app . route ( '/api/users/<int:id>' ) #NEWLINE# def get_user( id ) : #NEWLINE# #INDENT# user = User . query . get ( id ) #NEWLINE# if ( not user ) : #NEWLINE# #INDENT# abort ( 400 ) #NEWLINE# #UNINDENT# return jsonify ( { #NEWLINE# #INDENT# 'username' : user . username , #NEWLINE# #UNINDENT# } )