(self, progress: float)
| 4 | self.symbols = ['┈', '░', '▒', '▓'] |
| 5 | |
| 6 | def __call__(self, progress: float) -> str: |
| 7 | p = int(progress * self.length*4 + 0.5) |
| 8 | d, r = p // 4, p % 4 |
| 9 | return '┠┈' + d * '█' + ((self.symbols[r]) + max(0, self.length-1-d) * '┈' if p < self.length*4 else '') + "┈┨" |
nothing calls this directly
no outgoing calls
no test coverage detected