Unique identifier of a edge. The `eid` is required in Update and Delete, which is a system generated unsigned integer. User need to get that eid by other means such as gremlin query.
| 33 | |
| 34 | |
| 35 | class EdgeRecordKey: |
| 36 | """Unique identifier of a edge. |
| 37 | The `eid` is required in Update and Delete, which is a |
| 38 | system generated unsigned integer. User need to get that eid |
| 39 | by other means such as gremlin query. |
| 40 | """ |
| 41 | |
| 42 | __slots__ = ["label", "src_vertex_key", "dst_vertex_key", "eid"] |
| 43 | |
| 44 | def __init__(self, label, src_vertex_key, dst_vertex_key, eid=None): |
| 45 | self.label: str = label |
| 46 | self.src_vertex_key: VertexRecordKey = src_vertex_key |
| 47 | self.dst_vertex_key: VertexRecordKey = dst_vertex_key |
| 48 | self.eid: int = eid # Only required in Update and Delete. |
| 49 | |
| 50 | |
| 51 | def to_vertex_record_key_pb(vertex_record_key: VertexRecordKey): |
no outgoing calls