def serialize(self): try: return serialize(self.__dict__) except: tolog( ' received exception while converting BalsamJob to json string: ' + str(sys.exc_info()[1])) raise
def serialize(self): # create temp ArgoJob and fill with this list of json job strings tmp_argojob = ArgoJob() tmp_argojob.__dict__ = self.__dict__.copy() tmp_argojob.jobs = self.get_jobs_dictionary_list() try: return serialize(tmp_argojob.__dict__) except: tolog(" received exception while converting ArgoJob to json string: " + str(sys.exc_info()[1])) raise
def serialize(self): # create temp ArgoJob and fill with this list of json job strings tmp_argojob = ArgoJob() tmp_argojob.__dict__ = self.__dict__.copy() tmp_argojob.jobs = self.get_jobs_dictionary_list() try: return serialize(tmp_argojob.__dict__) except: tolog( ' received exception while converting ArgoJob to json string: ' + str(sys.exc_info()[1])) raise
def serialize(self): try: return serialize(self.__dict__) except: tolog(" received exception while converting BalsamJob to json string: " + str(sys.exc_info()[1])) raise
def get_job_list_text(self): return serialize(self.get_jobs_dictionary_list())
def get_serialized_message(self): return serialize(self.__dict__)