code: def __init__(self, *args, **kwargs):
      super().__init__(
          input_type=BatchRequestModel,
          output_type=BatchResponse,
          *args,
          **kwargs,
      )
  
file_path: pytorch-lightning/examples/app/server_with_auto_scaler/app.py
imports: from typing import List
  import torch
  import torchvision
  from lightning.app import CloudCompute, LightningApp
  from pydantic import BaseModel
label_desc: Use image node_id 1 to create a new PyTorchServer object from inherited base classes: app.components with example: obj = PyTorchServer()