class_docstr: maximum-compatibility tqdm-based progressbars
class_docstr_tok: ["maximum-compatibility","tqdm-based","progressbars"]
docstr: Sets `msg` as a postfix and calls `update(n)`.
docstr_tok: ["Sets","`","msg","`","as","a","postfix","and","calls","`","update","(","n",")","`","."]
code: def update_msg(self, msg: str, n: int = 1) -> None:
      """
      Sets `msg` as a postfix and calls `update(n)`.
      """
      self.set_msg(msg)
      self.update(n)
  
file_path: dvc/dvc/progress.py
imports: import logging
  import sys
  from threading import RLock
  from typing import TYPE_CHECKING
  from tqdm import tqdm
  from dvc.env import DVC_IGNORE_ISATTY
  from dvc.utils import env2bool
label_desc: Use image node_id 2 for calling the Tqdm obj's underlying member method code with example usage: obj.update_msg(msg, n) without return types