Skip to content

Commit d8ef290

Browse files
feat: removes unused properies from node and edge pydantic models (#884)
<!-- .github/pull_request_template.md --> ## 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 <[email protected]>
1 parent b94c846 commit d8ef290

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

cognee/shared/data_models.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,13 @@ class Node(BaseModel):
4646
name: str
4747
type: str
4848
description: str
49-
properties: Optional[Dict[str, Any]] = Field(
50-
None, description="A dictionary of properties associated with the node."
51-
)
5249

5350
class Edge(BaseModel):
5451
"""Edge in a knowledge graph."""
5552

5653
source_node_id: str
5754
target_node_id: str
5855
relationship_name: str
59-
properties: Optional[Dict[str, Any]] = Field(
60-
None, description="A dictionary of properties associated with the edge."
61-
)
6256

6357
class KnowledgeGraph(BaseModel):
6458
"""Knowledge graph."""

0 commit comments

Comments
 (0)