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:
parent
b94c846616
commit
d8ef2903ba
1 changed files with 0 additions and 6 deletions
|
|
@ -46,9 +46,6 @@ else:
|
||||||
name: str
|
name: str
|
||||||
type: str
|
type: str
|
||||||
description: str
|
description: str
|
||||||
properties: Optional[Dict[str, Any]] = Field(
|
|
||||||
None, description="A dictionary of properties associated with the node."
|
|
||||||
)
|
|
||||||
|
|
||||||
class Edge(BaseModel):
|
class Edge(BaseModel):
|
||||||
"""Edge in a knowledge graph."""
|
"""Edge in a knowledge graph."""
|
||||||
|
|
@ -56,9 +53,6 @@ else:
|
||||||
source_node_id: str
|
source_node_id: str
|
||||||
target_node_id: str
|
target_node_id: str
|
||||||
relationship_name: str
|
relationship_name: str
|
||||||
properties: Optional[Dict[str, Any]] = Field(
|
|
||||||
None, description="A dictionary of properties associated with the edge."
|
|
||||||
)
|
|
||||||
|
|
||||||
class KnowledgeGraph(BaseModel):
|
class KnowledgeGraph(BaseModel):
|
||||||
"""Knowledge graph."""
|
"""Knowledge graph."""
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue