code: def __init__(
      self,
      working_dir=None,
      objective=None,
      id=None,
      status=None,
      params=None,
      parent=None,
  ):
      self.id = id
      if working_dir is None:
          working_dir = id
  
      self.working_dir = working_dir
      if objective and (status is None or status == "completed"):
          self.objective = ObjectiveStub(objective)
      else:
          self.objective = None
  
      if status is None and objective is not None:
          self.status = "completed"
      elif status is None:
          self.status = "new"
      else:
          self.status = status
  
      self.params = params
      self.parent = parent
  
imports: from orion.algo.pbt.exploit import BaseExploit
  from orion.algo.pbt.explore import BaseExplore
  from orion.algo.pbt.pbt import LineageNode, Lineages
  from orion.core.utils.pptree import print_tree
  from orion.core.worker.trial import Trial
label_desc: Use image node_id 1 to create a new TrialStub object  with example: obj = TrialStub(working_dir, objective, id, status, params, parent)