Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/GraphScope
/ i_to_attr
Function
i_to_attr
python/graphscope/framework/utils.py:285–287 ·
view source on GitHub ↗
(i: int)
Source
from the content-addressed store, hash-verified
283
284
285
def
i_to_attr(i: int) -> attr_value_pb2.AttrValue:
286
check_argument(isinstance(i, int))
287
return
attr_value_pb2.AttrValue(i=i)
288
289
290
def
u_to_attr(i: int) -> attr_value_pb2.AttrValue:
Callers
1
cleanup
Method · 0.90
Calls
1
check_argument
Function · 0.90
Tested by
no test coverage detected