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

Class VertexRecordKey

python/graphscope/framework/record.py:22–32  ·  view source on GitHub ↗

Unique identifier of a vertex. The primary key may be a dict, the key is the property name, and the value is the data.

Source from the content-addressed store, hash-verified

20
21
22class VertexRecordKey:
23 """Unique identifier of a vertex.
24 The primary key may be a dict, the key is the property name,
25 and the value is the data.
26 """
27
28 __slots__ = ["label", "primary_key"]
29
30 def __init__(self, label, primary_key):
31 self.label: str = label
32 self.primary_key: dict = primary_key
33
34
35class EdgeRecordKey:

Callers 6

demoFunction · 0.90
load_data_of_crew_graphFunction · 0.90
prepare_verticesFunction · 0.90
prepare_edgesFunction · 0.90

Calls

no outgoing calls

Tested by 1

demoFunction · 0.72