code: def append(self, v):
      from lightning.app.core import LightningFlow, LightningWork
  
      _set_child_name(self, v, str(self._last_index))
      if self._backend:
          if isinstance(v, LightningFlow):
              LightningFlow._attach_backend(v, self._backend)
          elif isinstance(v, LightningWork):
              self._backend._wrap_run_method(
                  _LightningAppRef().get_current(), v
              )
      v._name = f"{self.name}.{self._last_index}"
      self._last_index += 1
      super().append(v)
  
file_path: pytorch-lightning/src/lightning/app/structures/list.py
imports: import typing
  from lightning.app.utilities.app_helpers import _LightningAppRef, _set_child_name
label_desc: Use image node_id 2 for calling the List obj's underlying member method code with example usage: obj.append(v) without return types