docstr: Updates the progress bar / percentage indicator.
  
  Parameters
  ----------
  iterations : int (default: 1)
      default argument can be changed to integer values
      >=1 in order to update the progress indicators more than once
      per iteration.
  item_id : str (default: None)
      Print an item_id sring behind the progress bar
  force_flush : bool (default: False)
      If True, flushes the progress indicator to the output screen
      in each iteration.
docstr_tok: ["Updates","the","progress","bar","\/","percentage","indicator",".","Parameters","--","--","--","--","--","iterations",":","int","(","default",":","1",")","default","argument","can","be","changed","to","integer","values",">","=1","in","order","to","update","the","progress","indicators","more","than","once","per","iteration",".","item_id",":","str","(","default",":","None",")","Print","an","item_id","sring","behind","the","progress","bar","force_flush",":","bool","(","default",":","False",")","If","True",",","flushes","the","progress","indicator","to","the","output","screen","in","each","iteration","."]
code: def update(self, iterations=1, item_id=None, force_flush=False):
      """
      Updates the progress bar / percentage indicator.
  
      Parameters
      ----------
      iterations : int (default: 1)
          default argument can be changed to integer values
          >=1 in order to update the progress indicators more than once
          per iteration.
      item_id : str (default: None)
          Print an item_id sring behind the progress bar
      force_flush : bool (default: False)
          If True, flushes the progress indicator to the output screen
          in each iteration.
  
      """
      self.item_id = item_id
      self.cnt += iterations
      self._print(force_flush=force_flush)
      self._finish()
  
imports: import os
  import sys
  import time
  from io import UnsupportedOperation
label_desc: Use image node_id 2 for calling the Prog obj's underlying member method code with example usage: obj.update(iterations, item_id, force_flush) without return types