MCPcopy Create free account
hub / github.com/modelscope/modelscope / update

Method update

tests/hub/test_download_callback.py:18–19  ·  view source on GitHub ↗
(self, size: int)

Source from the content-addressed store, hash-verified

16 self.all_files.add(filename)
17
18 def update(self, size: int):
19 self.progress.update(size)
20
21 def end(self):
22 self.all_files.remove(self.filename)

Callers 7

test_merge_from_dictMethod · 0.45
gen_mock_dataMethod · 0.45
get_file_sha256Method · 0.45
test_run_pipelineMethod · 0.45
cfg_modify_fnMethod · 0.45
_create_and_trackMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected