Method: rich.progress_bar.ProgressBar.update
Calls: 3, Exceptions: 0, Paths: 1Back
Path 1: 3 calls (1.0)
10 (1) 100 (1) 12 (1)
None (2) 20 (1)
1def update(self, completed: float, total: Optional[float] = None) -> None:
2 """Update progress with new values.
3
4 Args:
5 completed (float): Number of steps completed.
6 total (float, optional): Total number of steps, or ``None`` to not change. Defaults to None.
7 """
8 self.completed = completed
9 self.total = total if total is not None else self.total