From d8ef2903baac97cd61b961fe670f976297219716 Mon Sep 17 00:00:00 2001 From: hajdul88 <52442977+hajdul88@users.noreply.github.com> Date: Fri, 30 May 2025 15:35:32 +0200 Subject: [PATCH] feat: removes unused properies from node and edge pydantic models (#884) ## Description Removes unused properies from node and edge pydantic models. ## DCO Affirmation I affirm that all code in every commit of this pull request conforms to the terms of the Topoteretes Developer Certificate of Origin. Co-authored-by: Boris --- cognee/shared/data_models.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cognee/shared/data_models.py b/cognee/shared/data_models.py index e0e90e322..fb9386dcf 100644 --- a/cognee/shared/data_models.py +++ b/cognee/shared/data_models.py @@ -46,9 +46,6 @@ else: name: str type: str description: str - properties: Optional[Dict[str, Any]] = Field( - None, description="A dictionary of properties associated with the node." - ) class Edge(BaseModel): """Edge in a knowledge graph.""" @@ -56,9 +53,6 @@ else: source_node_id: str target_node_id: str relationship_name: str - properties: Optional[Dict[str, Any]] = Field( - None, description="A dictionary of properties associated with the edge." - ) class KnowledgeGraph(BaseModel): """Knowledge graph."""