Unique identifier of a vertex. The primary key may be a dict, the key is the property name, and the value is the data.
| 20 | |
| 21 | |
| 22 | class 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 | |
| 35 | class EdgeRecordKey: |
no outgoing calls