#NEWLINE# def handle_change_task_status_request( self , combo , item , state , user_data = None ) : #NEWLINE# #INDENT# data = { #NEWLINE# #INDENT# 'status' : item . value , #NEWLINE# #UNINDENT# } #NEWLINE# task = user_data #NEWLINE# task_patch_f = self . executor . update_task ( task , data ) #NEWLINE# task_patch_f . add_done_callback ( self . handle_change_task_status_response )