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

Method Init

python/graphscope/tests/unittest/test_udf_app.py:625–631  ·  view source on GitHub ↗
(frag, context)

Source from the content-addressed store, hash-verified

623class PIE_GetSchema(AppAssets):
624 @staticmethod
625 def Init(frag, context):
626 v_label_num = frag.vertex_label_num()
627 for i in range(0, v_label_num):
628 nodes = frag.nodes(i)
629 context.init_value(
630 nodes, i, string(b""), PIEAggregateType.kTextAppendAggregate
631 )
632
633 @staticmethod
634 def PEval(frag, context):

Callers

nothing calls this directly

Calls 3

init_valueMethod · 0.80
vertex_label_numMethod · 0.45
nodesMethod · 0.45

Tested by

no test coverage detected