Exemplo n.º 1
0
 def serialize(self):
     try:
         return serialize(self.__dict__)
     except:
         tolog(
             ' received exception while converting BalsamJob to json string: '
             + str(sys.exc_info()[1]))
         raise
Exemplo n.º 2
0
    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
Exemplo n.º 3
0
    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
Exemplo n.º 4
0
 def serialize(self):
     try:
         return serialize(self.__dict__)
     except:
         tolog(" received exception while converting BalsamJob to json string: " + str(sys.exc_info()[1]))
         raise
Exemplo n.º 5
0
 def get_job_list_text(self):
     return serialize(self.get_jobs_dictionary_list())
Exemplo n.º 6
0
 def get_serialized_message(self):
     return serialize(self.__dict__)
Exemplo n.º 7
0
 def get_job_list_text(self):
     return serialize(self.get_jobs_dictionary_list())
Exemplo n.º 8
0
 def get_serialized_message(self):
     return serialize(self.__dict__)