MCPcopy Create free account
hub / github.com/alibaba/graph-learn / _copy_edge_source

Method _copy_edge_source

graphlearn/python/graph.py:320–332  ·  view source on GitHub ↗
(self, edge)

Source from the content-addressed store, hash-verified

318 return self
319
320 def _copy_edge_source(self, edge):
321 result = pywrap.EdgeSource()
322 result.path = edge.path
323 result.edge_type = edge.edge_type
324 result.src_id_type = edge.src_id_type
325 result.dst_id_type = edge.dst_id_type
326 result.format = edge.format
327 result.direction = edge.direction
328 result.attr_info = edge.attr_info
329 result.option = edge.option
330 result.view_type = edge.view_type
331 result.use_attrs = edge.use_attrs
332 return result
333
334 def edge_attributes(self, edge_type, attrs, n_int, n_float, n_string):
335 edge_source = None

Callers

nothing calls this directly

Calls 1

EdgeSourceMethod · 0.80

Tested by

no test coverage detected