def bar(self, progress):
if not hasattr(self, "<STR_LIT>") or not self._limit:<EOL><INDENT>self._limit = self.terminal_size()<EOL><DEDENT>graph_progress = int(progress * self._limit)<EOL>self.stdout.write('<STR_LIT:\r>', ending='<STR_LIT>')<EOL>progress_format = "<STR_LIT>".format(self._limit)<EOL>self.stdout.write(<EOL>self.style.SUCCESS(progress_format % (self.progress_symbol * graph_progress, int(progress * <NUM_LIT:100>))),<EOL>ending='<STR_LIT>'<EOL>)<EOL>self.stdout.flush()<EOL>
Shows on the stdout the progress bar for the given progress.