MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / __init__

Method __init__

pager_lib/tqdm/rich.py:23–26  ·  view source on GitHub ↗
(self, unit_scale=False, unit_divisor=1000)

Source from the content-addressed store, hash-verified

21class FractionColumn(ProgressColumn):
22 """Renders completed/total, e.g. '0.5/2.3 G'."""
23 def __init__(self, unit_scale=False, unit_divisor=1000):
24 self.unit_scale = unit_scale
25 self.unit_divisor = unit_divisor
26 super().__init__()
27
28 def render(self, task):
29 """Calculate common unit for completed and total."""

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected