class_docstr: Local based runner future
  
  Parameters
  ----------
  res: Optional[List[float]]
      The optional result as a list of float.
  error_message: Optional[str]
      The optional error message.
  
  Note
  ----
  Only one of the parameters should be None upon the creation
  of LocalRunnerFuture object
class_docstr_tok: ["Local","based","runner","future","Parameters","--","--","--","--","--","res",":","Optional","[","List","[","float","]","]","The","optional","result","as","a","list","of","float",".","error_message",":","Optional","[","str","]","The","optional","error","message",".","Note","--","--","Only","one","of","the","parameters","should","be","None","upon","the","creation","of","LocalRunnerFuture","object"]
docstr: Constructor
  
  Parameters
  ----------
  res: Optional[List[float]]
      The result of this LocalRunnerFuture
  error_message: Optional[str]
      The stringfied error message of any exception during execution
docstr_tok: ["Constructor","Parameters","--","--","--","--","--","res",":","Optional","[","List","[","float","]","]","The","result","of","this","LocalRunnerFuture","error_message",":","Optional","[","str","]","The","stringfied","error","message","of","any","exception","during","execution"]
code: def __init__(
      self,
      res: Optional[List[float]] = None,
      error_message: Optional[str] = None,
  ) -> None:
      """Constructor
  
      Parameters
      ----------
      res: Optional[List[float]]
          The result of this LocalRunnerFuture
      error_message: Optional[str]
          The stringfied error message of any exception during execution
  
      """
      super().__init__()
      self.res = res
      self.error_message = error_message
  
      # sanity check upon the creation of LocalRunnerFuture object
      if (res is None and error_message is None) or (
          res is not None and error_message is not None
      ):
          raise AttributeError(
              "Only one of the two parameters should be None upon the creation"
              "of LocalRunnerFuture object."
          )
  
imports: import logging
  from contextlib import contextmanager
  from typing import Callable, List, Optional, Union
  import subprocess
  import tvm
  from ...contrib.popen_pool import PopenPoolExecutor
  from ...runtime import Device, Module
  from ..logging import get_logger
  from ..profiler import Profiler
  from ..utils import derived_object, get_global_func_with_default_on_worker
  from .config import EvaluatorConfig
  from .runner import PyRunner, PyRunnerFuture, RunnerFuture, RunnerInput, RunnerResult
  from .utils import T_ARG_INFO_JSON_OBJ_LIST, T_ARGUMENT_LIST, alloc_argument_common, run_evaluator_common
label_desc: Use image node_id 1 to create a new LocalRunnerFuture object from inherited base classes: PyRunnerFuture with example: obj = LocalRunnerFuture(res, error_message)