code: def _finish_progress(self):
          
  
          if self._show_progressbar:
              if self._progressbar is None:
                  self._initialize_progressbar()
              if self._progressbar is not None:
                  self._progressbar.finish()
  
          if self._progress_callback is not None:
              self._progress_callback(100.0)
docs: Mark the progressbar as finished.
          :return: None