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

Method _project_to_simple

python/graphscope/framework/graph.py:374–391  ·  view source on GitHub ↗
(self, v_prop=None, e_prop=None)

Source from the content-addressed store, hash-verified

372 return utils.normalize_data_type_str(self._vid_type)
373
374 def _project_to_simple(self, v_prop=None, e_prop=None):
375 check_argument(self.graph_type == graph_def_pb2.ARROW_PROPERTY)
376 op = dag_utils.project_to_simple(self, str(v_prop), str(e_prop))
377 # construct dag node
378 graph_dag_node = GraphDAGNode(
379 self._session,
380 op,
381 self._oid_type,
382 self._vid_type,
383 self._directed,
384 self._generate_eid,
385 self._retain_oid,
386 self._vertex_map,
387 self._compact_edges,
388 self._use_perfect_hash,
389 )
390 graph_dag_node._base_graph = self
391 return graph_dag_node
392
393 def _resolve_op(self, incoming_data):
394 if incoming_data is None:

Callers

nothing calls this directly

Calls 2

check_argumentFunction · 0.90
GraphDAGNodeClass · 0.85

Tested by

no test coverage detected