code: def __init__(self, progress: Progress, tid, transient: bool):
      self._progress = progress
      self.tid = tid
      self.transient = transient
  
imports: from typing import Optional, Callable, Tuple, List
  from rich import filesize
  from rich.progress import MofNCompleteColumn, BarColumn, TextColumn, TimeRemainingColumn, TimeElapsedColumn, Progress, ProgressColumn, TaskProgressColumn, Task
  from rich.text import Text
label_desc: Use image node_id 1 to create a new BatchProgressBarTask object  with example: obj = BatchProgressBarTask(progress, tid, transient)