Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/GraphScope
/ get_bool
Method
get_bool
python/graphscope/client/archive.py:103–107 ·
view source on GitHub ↗
Peek a bool.
(self)
Source
from the content-addressed store, hash-verified
101
return
u
102
103
def
get_bool(self):
104
""
"Peek a bool."
""
105
size_of_bool = struct.calcsize(
"?"
)
106
b = struct.unpack(
"?"
, self.get_block(size_of_bool))[0]
107
return
b
Callers
1
__contains__
Method · 0.45
Calls
2
get_block
Method · 0.95
unpack
Method · 0.45
Tested by
no test coverage detected