code: def get_pretty_string(self, stat, verbose):
          
          pretty_output = _PrettyOutputToStr()
          self.generate_pretty_output(stat=stat,
                                      verbose=verbose,
                                      output_function=pretty_output.save_output)
          return pretty_output.result
docs: Pretty string representation of the results
  
          :param stat: bool
          :param verbose: bool
          :return: str