MCPcopy 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
285def 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
290def u_to_attr(i: int) -> attr_value_pb2.AttrValue:

Callers 1

cleanupMethod · 0.90

Calls 1

check_argumentFunction · 0.90

Tested by

no test coverage detected