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

Method __init__

python/graphscope/framework/context.py:116–125  ·  view source on GitHub ↗
(self, bound_app, graph, *args, **kwargs)

Source from the content-addressed store, hash-verified

114 """
115
116 def __init__(self, bound_app, graph, *args, **kwargs):
117 self._bound_app = bound_app
118 self._graph = graph
119 self._session = self._bound_app.session
120 # add op to dag
121 self._op = run_app(self._bound_app, *args, **kwargs)
122 self._session.dag.add_op(self._op)
123
124 # statically create the unload op
125 self._unload_op = dag_utils.unload_context(self)
126
127 def _check_selector(self, selector):
128 raise NotImplementedError()

Callers

nothing calls this directly

Calls 2

run_appFunction · 0.90
add_opMethod · 0.80

Tested by

no test coverage detected