code: def run_steps(name, step_times, app_steps_task_id):
      """Run steps for a single app, and update corresponding progress bars."""
  
      for idx, step_time in enumerate(step_times):
          # add progress bar for this step (time elapsed + spinner)
          action = step_actions[idx]
          step_task_id = step_progress.add_task(
              "", action=action, name=name
          )
  
          # run steps, update progress
          for _ in range(step_time):
              time.sleep(0.5)
              step_progress.update(step_task_id, advance=1)
  
          # stop and hide progress bar for this step when done
          step_progress.stop_task(step_task_id)
          step_progress.update(step_task_id, visible=False)
  
          # also update progress bar for current app when step is done
          app_steps_progress.update(app_steps_task_id, advance=1)
  
imports: import time
  from rich.console import Group
  from rich.panel import Panel
  from rich.live import Live
  from rich.progress import BarColumn, Progress, SpinnerColumn, TextColumn, TimeElapsedColumn
label_desc: Use image node_id 1 for calling a global function with example usage: run_steps(name, step_times, app_steps_task_id) without return types