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

Method write

modelscope/fileio/file.py:165–166  ·  view source on GitHub ↗
(self, obj: bytes, url: Union[str, Path])

Source from the content-addressed store, hash-verified

163 os.remove(f.name)
164
165 def write(self, obj: bytes, url: Union[str, Path]) -> None:
166 raise NotImplementedError('write is not supported by HTTP Storage')
167
168 def write_text(self,
169 obj: str,

Callers 1

test_http_storageMethod · 0.95

Calls

no outgoing calls

Tested by 1

test_http_storageMethod · 0.76