def execute_sequence_end(self): if self.input_sequence_end_id != -1: if self.input_debug >= 1: log('Execute Sequence: ' + self.input_sequence_end + ' id:' + str(self.input_sequence_end_id), message_type='debug', title=str(self.farmwarename) + ' : execute_sequence_end') if self.input_debug < 2: execute_sequence(sequence_id=self.input_sequence_end_id) else: if self.input_debug >= 1: log('Sequence Not Found', message_type='debug', title=str(self.farmwarename) + ' : execute_sequence_end')
def execute_sequence_end(self): if len(self.input_sequence_end_dic) != 0: for s in self.input_sequence_end_dic: if self.input_debug >= 1: log('Execute Sequence: {} id: {}'.format(s,self.input_sequence_end_dic[s]), message_type='debug', title=str(self.farmwarename) + ' : execute_sequence_end') if self.input_debug < 2: self.check_celerypy(execute_sequence(sequence_id=self.input_sequence_end_dic[s])) else: if self.input_debug >= 1: log('Sequence Not Found', message_type='debug', title=str(self.farmwarename) + ' : execute_sequence_end')
def execute_sequence_init(self): if self.input_sequence_init_id != -1: if self.input_debug >= 1: log('Execute Sequence: ' + self.input_sequence_init + ' id:' + str(self.input_sequence_init_id), message_type='debug', title=str(self.farmwarename) + ' : execute_sequence_init') if self.input_debug < 2: self.check_celerypy( execute_sequence(sequence_id=self.input_sequence_init_id)) else: if self.input_debug >= 1: log('Sequence Not Found', message_type='debug', title=str(self.farmwarename) + ' : execute_sequence_init')