class_docstr: Data model for EvaDB server response
class_docstr_tok: ["Data","model","for","EvaDB","server","response"]
code: def __str__(self):
      if self.query_time is not None:
          return (
              "@status: %s\n"
              "@batch: \n %s\n"
              "@query_time: %s"
              % (self.status, self.batch, self.query_time)
          )
      else:
          return (
              "@status: %s\n"
              "@batch: \n %s\n"
              "@error: %s" % (self.status, self.batch, self.error)
          )
  
file_path: evadb/evadb/models/server/response.py
imports: from dataclasses import dataclass
  from enum import Enum
  from typing import Optional
  from evadb.executor.executor_utils import ExecutorError
  from evadb.models.storage.batch import Batch
  from evadb.utils.generic_utils import PickleSerializer
label_desc: Use image node_id 4 for calling the Response obj's underlying member method code with example usage: obj.__str__() and returns: unknown, unknown