code: def _update_n(bar: _tqdm, value: int) -> None:
      if not bar.disable:
          bar.n = value
          bar.refresh()
  
imports: import importlib
  import math
  import os
  import sys
  from typing import Any, Dict, Optional, Union
  from typing_extensions import override
  from lightning.pytorch.utilities.types import STEP_OUTPUT
  import lightning.pytorch
  from lightning.pytorch.callbacks.progress.progress_bar import ProgressBar
  from lightning.pytorch.utilities.rank_zero import rank_zero_debug
label_desc: Use image node_id 2 for calling a global function with example usage: _update_n(bar, value) without return types