code: def __init__(
      self, script_path, data_dir, total_trials, simultaneous_trials
  ):
      super().__init__()
      self.script_path = script_path
      self.data_dir = data_dir
      self.total_trials = total_trials
      self.simultaneous_trials = simultaneous_trials
      self.num_trials = simultaneous_trials
      self._study = optuna.create_study()
      self.ws = Dict()
  
file_path: pytorch-lightning/examples/app/hpo/app_wo_ui.py
imports: from pathlib import Path
  import optuna
  from lightning.app import CloudCompute, LightningApp, LightningFlow
  from lightning.app.structures import Dict
  from objective import ObjectiveWork
label_desc: Use image node_id 1 to create a new RootHPOFlow object from inherited base classes: LightningFlow with example: obj = RootHPOFlow(script_path, data_dir, total_trials, simultaneous_trials)