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 <boris@topoteretes.com>
This commit is contained in:
hajdul88 2025-05-30 15:35:32 +02:00 committed by GitHub
parent b94c846616
commit d8ef2903ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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."""