From 80349166004c86363854365e5868cf915139c4d0 Mon Sep 17 00:00:00 2001 From: Igor Ilic Date: Tue, 10 Jun 2025 15:06:13 +0200 Subject: [PATCH] refactor: Allow none for dataset ids --- cognee/api/v1/cognify/routers/get_cognify_router.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cognee/api/v1/cognify/routers/get_cognify_router.py b/cognee/api/v1/cognify/routers/get_cognify_router.py index 3b835f0af..5426f023a 100644 --- a/cognee/api/v1/cognify/routers/get_cognify_router.py +++ b/cognee/api/v1/cognify/routers/get_cognify_router.py @@ -11,7 +11,7 @@ from cognee.shared.data_models import KnowledgeGraph class CognifyPayloadDTO(BaseModel): datasets: List[str] - dataset_ids: Optional[List[UUID]] + dataset_ids: Optional[List[UUID]] = None graph_model: Optional[BaseModel] = KnowledgeGraph