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

Function callback

pager_lib/tqdm/cli.py:300–301  ·  view source on GitHub ↗
(i)

Source from the content-addressed store, hash-verified

298 with tqdm(**tqdm_args) as t:
299 if update:
300 def callback(i):
301 t.update(numeric(i.decode()))
302 else: # update_to
303 def callback(i):
304 t.update(numeric(i.decode()) - t.n)

Callers 15

posix_pipeFunction · 0.70
mainFunction · 0.70
writeMethod · 0.70
readMethod · 0.70
__scan_progressive__Function · 0.50
decodeResultsMethod · 0.50
closeCBMethod · 0.50
infoCBMethod · 0.50
deleteCBMethod · 0.50
listCBMethod · 0.50
createCBMethod · 0.50
echoCBMethod · 0.50

Calls 2

updateMethod · 0.45
decodeMethod · 0.45

Tested by

no test coverage detected