#NEWLINE# def complete( self , event_id , result = None ) : #NEWLINE# #INDENT# self . execution_status = 'CLOSED' #NEWLINE# self . close_status = 'COMPLETED' #NEWLINE# self . close_timestamp = unix_time ( ) #NEWLINE# self . _add_event ( 'WorkflowExecutionCompleted' , decision_task_completed_event_id = event_id , result = result )