From 7cd2855146f44774e74c8df031569037380c0fad Mon Sep 17 00:00:00 2001 From: sabaimran Date: Sun, 8 Dec 2024 12:23:17 -0800 Subject: [PATCH] Make attributes optional in the knowledge graph model --- src/khoj/database/models/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/khoj/database/models/__init__.py b/src/khoj/database/models/__init__.py index e98fb886..82583bc0 100644 --- a/src/khoj/database/models/__init__.py +++ b/src/khoj/database/models/__init__.py @@ -64,7 +64,7 @@ class PeopleAlsoAsk(PydanticBaseModel): class KnowledgeGraph(PydanticBaseModel): - attributes: Dict[str, str] + attributes: Optional[Dict[str, str]] = None description: Optional[str] = None descriptionLink: Optional[str] = None descriptionSource: Optional[str] = None