Method
display
(self, refresh: bool = True, *_, **__)
Source from the content-addressed store, hash-verified
| 202 | pass |
| 203 | |
| 204 | def display(self, refresh: bool = True, *_, **__): |
| 205 | if not hasattr(self, "_prog"): |
| 206 | return |
| 207 | if self._task_id not in self._prog.task_ids: |
| 208 | return |
| 209 | self._prog.update( |
| 210 | self._task_id, |
| 211 | completed=self.n, |
| 212 | description=self.desc, |
| 213 | refresh=refresh, |
| 214 | ) |
| 215 | |
| 216 | def reset(self, total=None): |
| 217 | if hasattr(self, "_prog") and self._task_id in self._prog.task_ids: |
Tested by
no test coverage detected