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

Method write

pager_lib/tqdm/utils.py:236–239  ·  view source on GitHub ↗
(data, *args, **kwargs)

Source from the content-addressed store, hash-verified

234 if method == "write":
235 @wraps(func)
236 def write(data, *args, **kwargs):
237 res = func(data, *args, **kwargs)
238 callback(len(data))
239 return res
240 self.wrapper_setattr('write', write)
241 elif method == "read":
242 @wraps(func)

Callers 1

writeMethod · 0.45

Calls 1

callbackFunction · 0.70

Tested by

no test coverage detected