code: def progress(fn: Callable, bar: tqdm, message: str) -> Callable:
      @wraps(fn)
      def inner(*args, **kwargs) -> Any:
          bar.set_postfix_str(message)
          ret = fn(*args, **kwargs)
          bar.update()
          return ret
  
      return inner
  
imports: from functools import wraps
  from typing import Any, Callable
  from tqdm import tqdm
label_desc: Use image node_id 1 for calling a global function with example usage: progress(fn, bar, message) and returns: inner, ret