#NEWLINE# def update_assembly_status( ctxt , assembly_id , status ) : #NEWLINE# #INDENT# if ( assembly_id is None ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# data = { #NEWLINE# #INDENT# 'status' : status , #NEWLINE# #UNINDENT# } #NEWLINE# conductor_api . API ( context = ctxt ) . update_assembly ( assembly_id , data )