code: def __init__(self, parallel: bool = False):
      super().__init__(parallel=parallel)
      self.progress = 0.0
  
file_path: pytorch-lightning/docs/source-app/code_samples/quickstart/app_02.py
imports: from time import sleep
  from lightning.app import LightningWork, LightningFlow, LightningApp
label_desc: Use image node_id 1 to create a new HourLongWork object from inherited base classes: LightningWork with example: obj = HourLongWork(parallel)