We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c7b446 commit 65da27fCopy full SHA for 65da27f
rich/progress.py
@@ -920,7 +920,7 @@ def render(self, task: "Task") -> Text:
920
class IterationSpeedColumn(ProgressColumn):
921
"""Renders iterations per second, e.g. '11.4 it/s'."""
922
923
- def render(self, task: Task) -> Text:
+ def render(self, task: "Task") -> Text:
924
last_speed = task.last_speed if hasattr(task, 'last_speed') else None
925
if task.finished and last_speed is not None:
926
return Text(f"{last_speed} it/s", style="progress.data.speed")
0 commit comments