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

Method get_instances

pager_lib/tqdm/_monitor.py:47–51  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

45 return self.report()
46
47 def get_instances(self):
48 # returns a copy of started `tqdm_cls` instances
49 return [i for i in self.tqdm_cls._instances.copy()
50 # Avoid race by checking that the instance started
51 if hasattr(i, 'start_t')]
52
53 def run(self):
54 cur_t = self._time()

Callers 1

runMethod · 0.95

Calls 1

copyMethod · 0.80

Tested by

no test coverage detected