ragflow/api/db
Can Wang 779932dcb0
Fix: graphrag, raptor can be null for api created kb issue (#8743)
### What problem does this PR solve?

When knowledgebase/dataset created by API, graphrag and raptor can be
null, and will trigger NoneType error when reach to this code, causing
chunking task not able to finish.

![image](https://github.com/user-attachments/assets/998a63e9-611b-4301-8808-24839a05be8a)

Proposed solution will result in None and pass the condition check
without error.

![image](https://github.com/user-attachments/assets/184374fb-e06a-46e6-b8ac-d66a3fd93b59)


### Type of change

-   Bug Fix (non-breaking change which fixes an issue)
2025-07-09 17:12:42 +08:00
..
services Fix: graphrag, raptor can be null for api created kb issue (#8743) 2025-07-09 17:12:42 +08:00
__init__.py Feat: add MCP dashboard operations (#8460) 2025-06-25 09:26:04 +08:00
db_models.py Feat: add advanced document filter (#8723) 2025-07-09 09:33:11 +08:00
db_utils.py Introduced beartype (#3460) 2024-11-18 17:38:17 +08:00
init_data.py Fix typo in code (#8327) 2025-06-18 09:41:09 +08:00
reload_config_base.py
runtime_config.py Update version display on web UI (#3405) 2024-11-14 17:51:21 +08:00