Method: rich.progress_bar.ProgressBar.__init__
Calls: 36, Exceptions: 0, Paths: 1Back
Path 1: 36 calls (1.0)
100.0 (10) 3.0 (10) 13 (8) None (2) 30 (2) 200 (2) 0 (1) 100 (1)
0 (17) 3 (4) 13 (4) 16 (2) 200 (2) 1 (2) 2 (2) 50 (1) 11 (1) 20 (1)
40 (24) None (10) 50 (1) 100 (1)
False (34) True (2)
'bar.back' (36)
'bar.complete' (36)
'bar.finished' (36)
'bar.pulse' (36)
None (6) 1.0 (5) 3.0 (2) 9.0 (2) 15.0 (2) 37.0 (2) 42.0 (2) 10 (1) 23.0 (1) 53.0 (1)
1def __init__(
2 self,
3 total: Optional[float] = 100.0,
4 completed: float = 0,
5 width: Optional[int] = None,
6 pulse: bool = False,
7 style: StyleType = "bar.back",
8 complete_style: StyleType = "bar.complete",
9 finished_style: StyleType = "bar.finished",
10 pulse_style: StyleType = "bar.pulse",
11 animation_time: Optional[float] = None,
12 ):
13 self.total = total
14 self.completed = completed
15 self.width = width
16 self.pulse = pulse
17 self.style = style
18 self.complete_style = complete_style
19 self.finished_style = finished_style
20 self.pulse_style = pulse_style
21 self.animation_time = animation_time
22
23 self._pulse_segments: Optional[List[Segment]] = None