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

Class ResultDAGNode

python/graphscope/framework/context.py:36–47  ·  view source on GitHub ↗

A class represents a result node in a DAG. In GraphScope, result node is always a leaf node in a DAG.

Source from the content-addressed store, hash-verified

34
35
36class ResultDAGNode(DAGNode):
37 """A class represents a result node in a DAG.
38
39 In GraphScope, result node is always a leaf node in a DAG.
40 """
41
42 def __init__(self, dag_node, op):
43 self._base_dag_node = dag_node
44 self._session = self._base_dag_node.session
45 self._op = op
46 # add op to dag
47 self._session.dag.add_op(self._op)
48
49
50class UnloadedContext(DAGNode):

Callers 7

to_numpyMethod · 0.90
to_dataframeMethod · 0.90
to_numpyMethod · 0.85
to_dataframeMethod · 0.85
to_vineyard_tensorMethod · 0.85
to_vineyard_dataframeMethod · 0.85
outputMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected