Method
__init__
(self, unit="", unit_scale=False, unit_divisor=1000)
Source from the content-addressed store, hash-verified
| 46 | class RateColumn(ProgressColumn): |
| 47 | """Renders human readable transfer speed.""" |
| 48 | def __init__(self, unit="", unit_scale=False, unit_divisor=1000): |
| 49 | self.unit = unit |
| 50 | self.unit_scale = unit_scale |
| 51 | self.unit_divisor = unit_divisor |
| 52 | super().__init__() |
| 53 | |
| 54 | def render(self, task): |
| 55 | """Show data transfer speed.""" |
Callers
nothing calls this directly
Tested by
no test coverage detected