agrag.common.data_models.graph_record.NodeRecord
Bases: BaseModel
One graph node, ready to write.
Attributes:
- id (
UUID) – The node id. - labels (
list[str]) – The node labels. A node carries every label listed here.GraphStore.upsert_nodesgroups records by their full label set within a batch, since Cypher requires labels to be literal in the query rather than a runtime parameter. - properties (
dict[str, Any]) – The node's properties, including an embedding vector under whatever keyGraphStore.ensure_vector_indexwas configured with, if native vector search is in use.
Functions:
- reject_pending_tag – Reject the job-owned tag in external graph records.
id
id: UUID
labels
labels: list[str] = Field(min_length=1)
properties
properties: dict[str, Any]
reject_pending_tag
reject_pending_tag(properties:dict[str, Any]) -> dict[str, Any]
Reject the job-owned tag in external graph records.