MCPcopy Create free account
hub / github.com/BravoLu/OpenVehicleReID / update

Method update

utils/progress/progress/counter.py:41–44  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

39 hide_cursor = True
40
41 def update(self):
42 nphases = len(self.phases)
43 i = min(nphases - 1, int(self.progress * nphases))
44 self.write(self.phases[i])
45
46
47class Pie(Stack):

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected