#NEWLINE# @ app . route ( '/article/<int:post_id>' , methods = [ 'POST' ] ) #NEWLINE# def edit_post( post_id ) : #NEWLINE# #INDENT# mary = User ( name = 'mary' , admin = False ) #NEWLINE# article = Article ( author_id = post_id . id ) #NEWLINE# ensure ( EDIT , article ) #NEWLINE# return 'successfully edited post'