code: def run(self):
      self.progress = 0.0
      for _ in range(3600):
          self.progress += 1.0 / 3600
          sleep(1)
  
file_path: pytorch-lightning/docs/source-app/code_samples/quickstart/app_03.py
imports: from time import sleep
  from lightning.app import LightningWork, LightningFlow, LightningApp
label_desc: Use image node_id 2 for calling the HourLongWork obj's underlying member method code with example usage: obj.run() without return types