code: def bar(self, progress):
          
          if not hasattr(self, "_limit") or not self._limit:
              self._limit = self.terminal_size()
          graph_progress = int(progress * self._limit)
          self.stdout.write('\r', ending='')
          progress_format = "[%-{}s] %d%%".format(self._limit)
          self.stdout.write(
              self.style.SUCCESS(progress_format % (self.progress_symbol * graph_progress, int(progress * 100))),
              ending=''
          )
          self.stdout.flush()
docs: Shows on the stdout the progress bar for the given progress.