MCPcopy Create free account
hub / github.com/IDEA-Research/DINO / load_from_path

Method load_from_path

util/slio.py:56–58  ·  view source on GitHub ↗
(self, filepath, **kwargs)

Source from the content-addressed store, hash-verified

54 return pickle.load(file, **kwargs)
55
56 def load_from_path(self, filepath, **kwargs):
57 return super(PickleHandler, self).load_from_path(
58 filepath, mode='rb', **kwargs)
59
60 def dump_to_str(self, obj, **kwargs):
61 kwargs.setdefault('protocol', 2)

Callers 1

slloadFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected