MCPcopy Create free account
hub / github.com/Ropedia/SpatialBench / display

Method display

benchmark/models/scal3r/utils/console_utils.py:204–214  ·  view source on GitHub ↗
(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:

Callers 1

closeMethod · 0.95

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected