class_docstr: Basic Loops interface.
code: def __init__(self, trainer: "pl.Trainer") -> None:
      self._restarting = False
      self.trainer = trainer
  
file_path: pytorch-lightning/src/lightning/pytorch/loops/loop.py
imports: from typing import Dict, Optional
  import lightning.pytorch
  from lightning.pytorch.loops.progress import _BaseProgress
label_desc: Use image node_id 1 to create a new _Loop object  with example: obj = _Loop(trainer)