code: def write(self, args):  # pylint: disable=no-self-use
          
          ShellProgressView.done = False
          message = args.get('message', '')
          percent = args.get('percent', None)
          if percent:
              ShellProgressView.progress_bar = _format_value(message, percent)
              if int(percent) == 1:
                  ShellProgressView.progress_bar = None
  
          ShellProgressView.progress = message
docs: writes the progres