code: def __init__(self) -> None:
      super().__init__()
      self.train = TrainComponent(parallel=True)
      self.model_deployment = ModelDeploymentComponent(parallel=True)
  
file_path: pytorch-lightning/docs/source-app/levels/intermediate/scripts/two_work_comms.py
imports: from lightning.app import LightningWork, LightningFlow, LightningApp
  import time
label_desc: Use image node_id 1 to create a new ContinuousDeployment object from inherited base classes: LightningFlow with example: obj = ContinuousDeployment()