We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e312b54 commit 5a0e205Copy full SHA for 5a0e205
veadk/database/viking/viking_database.py
@@ -567,7 +567,7 @@ def list_chunks(
567
logger.error(f"Error in list_docs: {result['message']}")
568
raise ValueError(f"Error in list_docs: {result['message']}")
569
570
- if not result["data"]["point_list"]:
+ if not result["data"].get("point_list", []):
571
return []
572
573
data = [
@@ -608,7 +608,7 @@ def list_docs(
608
609
610
611
- if not result["data"]["doc_list"]:
+ if not result["data"].get("doc_list", []):
612
613
return result["data"]["doc_list"]
614
0 commit comments