#NEWLINE# def timeout( self , timeout ) : #NEWLINE# #INDENT# self . execution_status = 'CLOSED' #NEWLINE# self . close_status = 'TIMED_OUT' #NEWLINE# self . timeout_type = self . kind #NEWLINE# self . _add_event ( 'WorkflowExecutionTimedOut' , child_policy = self . child_policy , event_timestamp = timeout . timestamp , timeout_type = self . timeout_type )