(self, task: "Task")
| 754 | return Text(f"{data_speed:.1f}{suffix} it/s", style="progress.percentage") |
| 755 | |
| 756 | def render(self, task: "Task") -> Text: |
| 757 | if task.total is None and self.show_speed: |
| 758 | return self.render_speed(task.finished_speed or task.speed) |
| 759 | text_format = ( |
| 760 | self.text_format_no_percentage if task.total is None else self.text_format |
| 761 | ) |
| 762 | _text = text_format.format(task=task) |
| 763 | if self.markup: |
| 764 | text = Text.from_markup(_text, style=self.style, justify=self.justify) |
| 765 | else: |
| 766 | text = Text(_text, style=self.style, justify=self.justify) |
| 767 | if self.highlighter: |
| 768 | self.highlighter.highlight(text) |
| 769 | return text |
| 770 | |
| 771 | |
| 772 | class TimeRemainingColumn(ProgressColumn): |
nothing calls this directly
no test coverage detected