Skip to content

PathEdge

Source code in docs_src/capo_context/types/path_edge.py
class PathEdge(TypedDict, closed=True):
    edge_id: "capo_context.types.edge_identifier.EdgeIdentifier"
    """<p>Edge identity: the (from, to) node pair. Edges have no standalone ID. The edge type, <code>edgeType</code>, is carried in properties.</p>"""
    properties: NotRequired["capo_context.types.metadata.Metadata"]
    """<p>Arbitrary key-value properties stored on this edge.</p>"""

edge_id instance-attribute

edge_id: EdgeIdentifier

Edge identity: the (from, to) node pair. Edges have no standalone ID. The edge type, edgeType, is carried in properties.

properties instance-attribute

properties: NotRequired[Metadata]

Arbitrary key-value properties stored on this edge.