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

Method check_edges

python/graphscope/learning/gl_torch_graph.py:69–73  ·  view source on GitHub ↗
(schema, edges)

Source from the content-addressed store, hash-verified

67
68 @staticmethod
69 def check_edges(schema, edges):
70 for edge in edges:
71 GLTorchGraph.check_edge(schema, edge)
72 if edge in edges[edges.index(edge) + 1 :]:
73 raise ValueError(f"Duplicated edge: {edge}")
74
75 @staticmethod
76 def check_features(feature_names, properties):

Callers 1

check_paramsMethod · 0.80

Calls 2

check_edgeMethod · 0.80
indexMethod · 0.45

Tested by

no test coverage detected