MCPcopy
hub / github.com/Textualize/rich / __init__

Method __init__

rich/progress.py:67–74  ·  view source on GitHub ↗
(self, progress: "Progress", task_id: "TaskID", update_period: float)

Source from the content-addressed store, hash-verified

65 """A thread to periodically update progress."""
66
67 def __init__(self, progress: "Progress", task_id: "TaskID", update_period: float):
68 self.progress = progress
69 self.task_id = task_id
70 self.update_period = update_period
71 self.done = Event()
72
73 self.completed = 0
74 super().__init__(daemon=True)
75
76 def run(self) -> None:
77 task_id = self.task_id

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected