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

Method project

python/graphscope/framework/graph.py:1390–1397  ·  view source on GitHub ↗
(
        self,
        vertices: Mapping[str, Union[List[str], None]],
        edges: Mapping[str, Union[List[str], None]],
    )

Source from the content-addressed store, hash-verified

1388
1389 @apply_docstring(GraphDAGNode.project)
1390 def project(
1391 self,
1392 vertices: Mapping[str, Union[List[str], None]],
1393 edges: Mapping[str, Union[List[str], None]],
1394 ) -> Union["Graph", GraphDAGNode]:
1395 if not self.loaded():
1396 raise RuntimeError("The graph is not loaded")
1397 return self._session._wrapper(self._graph_node.project(vertices, edges))
1398
1399 def _attach_interactive_instance(self, instance):
1400 """Store the instance when a new interactive instance is started.

Calls 2

loadedMethod · 0.95
_wrapperMethod · 0.80