code: def __init__(self, app) -> None:
      super().__init__(daemon=True)
      self._exit_event = threading.Event()
      self._sleep_time = 1.0
      self._app = app
  
file_path: pytorch-lightning/src/lightning/app/utilities/scheduler.py
imports: import threading
  from datetime import datetime
  from typing import Optional
  from croniter import croniter
  from deepdiff import Delta
  from lightning.app.utilities.proxies import ComponentDelta
label_desc: Use image node_id 1 to create a new SchedulerThread object from inherited base classes: threading with example: obj = SchedulerThread(app)