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

Method __init__

python/graphscope/framework/context.py:42–47  ·  view source on GitHub ↗
(self, dag_node, op)

Source from the content-addressed store, hash-verified

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

nothing calls this directly

Calls 1

add_opMethod · 0.80

Tested by

no test coverage detected