From 6efee1c2fecb14e7aef9d489a1b4474ebeb32f56 Mon Sep 17 00:00:00 2001 From: ArnoChen Date: Mon, 17 Feb 2025 02:23:24 +0800 Subject: [PATCH] fix docstring for documents endpoint --- lightrag/api/lightrag_server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lightrag/api/lightrag_server.py b/lightrag/api/lightrag_server.py index dec7bcd6..751664f6 100644 --- a/lightrag/api/lightrag_server.py +++ b/lightrag/api/lightrag_server.py @@ -1746,9 +1746,9 @@ def create_app(args): async def documents() -> DocsStatusesResponse: """ Get documents statuses - Returns: - DocsStatusesResponse: A response object containing the status, message, and the number of indexed documents. + DocsStatusesResponse: A response object containing a dictionary where keys are DocStatus + and values are lists of DocStatusResponse objects representing documents in each status category. """ try: statuses = (