MCPcopy Create free account
hub / github.com/alibaba/GraphScope / get_sized_block

Method get_sized_block

python/graphscope/client/archive.py:58–62  ·  view source on GitHub ↗

Peek a block with the size as the prefix bytes.

(self)

Source from the content-addressed store, hash-verified

56 return size
57
58 def get_sized_block(self):
59 """Peek a block with the size as the prefix bytes."""
60 size = self.get_size()
61 block = self.get_block(size)
62 return block
63
64 def get_bytes(self):
65 """Peek bytes"""

Callers

nothing calls this directly

Calls 2

get_sizeMethod · 0.95
get_blockMethod · 0.95

Tested by

no test coverage detected