code: def __init__(self):
      super().__init__(
          cache_calls=False,
          parallel=True,
          cloud_compute=CloudCompute(idle_timeout=5),
      )
      self.counter = 0
      self.value = None
      self.path = None
  
file_path: pytorch-lightning/tests/integrations_app/apps/idle_timeout/app.py
imports: import pathlib
  from lightning.app import CloudCompute, LightningApp, LightningFlow, LightningWork
  from lightning.app.storage.path import _artifacts_path, _filesystem
  from lightning.app.utilities.enum import WorkStageStatus
label_desc: Use image node_id 1 to create a new SourceFileWriterWork object from inherited base classes: LightningWork with example: obj = SourceFileWriterWork()