MCPcopy
hub / github.com/borgbackup/borg / get_many

Method get_many

src/borg/remote.py:989–994  ·  view source on GitHub ↗
(self, ids, read_data=True, is_preloaded=False, raise_missing=True)

Source from the content-addressed store, hash-verified

987 return resp
988
989 def get_many(self, ids, read_data=True, is_preloaded=False, raise_missing=True):
990 yield from self.call_many(
991 "get",
992 [{"id": id, "read_data": read_data, "raise_missing": raise_missing} for id in ids],
993 is_preloaded=is_preloaded,
994 )
995
996 @api(since=parse_version("1.0.0"))
997 def put(self, id, data, wait=True):

Callers 1

getMethod · 0.95

Calls 1

call_manyMethod · 0.95

Tested by

no test coverage detected