code: def __init__(
      self,
      *,
      monitor: "Monitor",
      name: str,
      is_silent: bool,
      is_timed: bool,
      is_partial: bool,
      is_children_silent: bool,
      is_new_line: bool,
      total_steps: float,
      level: int,
      is_track: bool,
  ):
      if is_partial:
          raise RuntimeError(
              "Only sections within the loop can be partial."
          )
  
      super().__init__(
          monitor=monitor,
          name=name,
          is_silent=is_silent,
          is_timed=is_timed,
          is_track=is_track,
          is_partial=is_partial,
          is_children_silent=is_children_silent,
          total_steps=total_steps,
      )
  
      self._level = level
      self._is_new_line = is_new_line
  
imports: import math
  import time
  from typing import TYPE_CHECKING, List
  from labml import logger
  from ..tracker import tracker_singleton
label_desc: Use image node_id 1 to create a new OuterSection object from inherited base classes: Section with example: obj = OuterSection()